diff options
author | Mike Melanson <mike@multimedia.cx> | 2002-07-10 02:54:43 +0000 |
---|---|---|
committer | Mike Melanson <mike@multimedia.cx> | 2002-07-10 02:54:43 +0000 |
commit | ddb1e25091e9b7d991ac212aeb3cc50f85b875f6 (patch) | |
tree | 537bac359d9d376166b6d18b19e25df9942ade02 /src | |
parent | 761a4680e7518d41e7d55b7f12e01e75eb8f1cff (diff) | |
download | xine-lib-ddb1e25091e9b7d991ac212aeb3cc50f85b875f6.tar.gz xine-lib-ddb1e25091e9b7d991ac212aeb3cc50f85b875f6.tar.bz2 |
send temporal position information to the engine
CVS patchset: 2238
CVS date: 2002/07/10 02:54:43
Diffstat (limited to 'src')
-rw-r--r-- | src/demuxers/demux_film.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/demuxers/demux_film.c b/src/demuxers/demux_film.c index d6320b072..399ae3f74 100644 --- a/src/demuxers/demux_film.c +++ b/src/demuxers/demux_film.c @@ -21,7 +21,7 @@ * For more information on the FILM file format, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: demux_film.c,v 1.16 2002/07/05 17:31:59 mroi Exp $ + * $Id: demux_film.c,v 1.17 2002/07/10 02:54:43 tmmm Exp $ */ #ifdef HAVE_CONFIG_H @@ -338,6 +338,8 @@ static void *demux_film_loop (void *this_gen) { buf->content = buf->mem; buf->type = this->video_type; buf->input_pos = this->sample_table[i].sample_offset; + buf->input_length = this->data_end; + buf->input_time = this->sample_table[i].pts / 90000; buf->pts = this->sample_table[i].pts; buf->decoder_flags = 0; @@ -403,6 +405,8 @@ static void *demux_film_loop (void *this_gen) { buf->content = buf->mem; buf->type = this->video_type; buf->input_pos = this->sample_table[i].sample_offset; + buf->input_length = this->data_end; + buf->input_time = this->sample_table[i].pts / 90000; buf->pts = this->sample_table[i].pts; buf->decoder_flags = 0; @@ -435,6 +439,8 @@ static void *demux_film_loop (void *this_gen) { buf->content = buf->mem; buf->type = this->audio_type; buf->input_pos = this->sample_table[i].sample_offset; + buf->input_length = this->data_end; + buf->input_time = this->sample_table[i].pts / 90000; buf->pts = this->sample_table[i].pts; buf->decoder_flags = 0; |