diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-12-13 21:13:17 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-12-13 21:13:17 +0000 |
commit | a648ff82354a93235dbf1a2d9d0264a8c3538692 (patch) | |
tree | b0262ad07c2b6c91e8ae470d05f3c75c6ac2af06 /src/demuxers/demux_real.c | |
parent | 799e4dc9f2da787e3fe7703afc471dd7e912f5da (diff) | |
download | xine-lib-a648ff82354a93235dbf1a2d9d0264a8c3538692.tar.gz xine-lib-a648ff82354a93235dbf1a2d9d0264a8c3538692.tar.bz2 |
always set input_pos and input_time on both, audio and video buffers
CVS patchset: 3513
CVS date: 2002/12/13 21:13:17
Diffstat (limited to 'src/demuxers/demux_real.c')
-rw-r--r-- | src/demuxers/demux_real.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/demuxers/demux_real.c b/src/demuxers/demux_real.c index b5e7d2d5e..609326f95 100644 --- a/src/demuxers/demux_real.c +++ b/src/demuxers/demux_real.c @@ -21,7 +21,7 @@ * For more information regarding the Real file format, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: demux_real.c,v 1.23 2002/12/12 22:08:11 holstsn Exp $ + * $Id: demux_real.c,v 1.24 2002/12/13 21:13:19 guenter Exp $ */ #ifdef HAVE_CONFIG_H @@ -804,6 +804,7 @@ static int demux_real_send_chunk(demux_plugin_t *this_gen) { buf->content = buf->mem; buf->pts = timestamp; buf->input_pos = this->input->get_current_pos (this->input); + buf->input_time = buf->input_pos * 8 / this->avg_bitrate ; buf->type = this->video_buf_type; |