diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-01-10 11:57:15 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2003-01-10 11:57:15 +0000 |
commit | 4b7cfbfb7aa9d3af0f483b15b32882aa453f87a7 (patch) | |
tree | 36073c846d54ce98a71d255651e78abe69dc2035 /src/demuxers/demux_film.c | |
parent | a4318a6700f307c76487a66a196860986bd1b781 (diff) | |
download | xine-lib-4b7cfbfb7aa9d3af0f483b15b32882aa453f87a7.tar.gz xine-lib-4b7cfbfb7aa9d3af0f483b15b32882aa453f87a7.tar.bz2 |
internal input_time is miliseconds now
CVS patchset: 3851
CVS date: 2003/01/10 11:57:15
Diffstat (limited to 'src/demuxers/demux_film.c')
-rw-r--r-- | src/demuxers/demux_film.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/demuxers/demux_film.c b/src/demuxers/demux_film.c index 48f46803d..aafe45482 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.51 2003/01/08 01:02:28 miguelfreitas Exp $ + * $Id: demux_film.c,v 1.52 2003/01/10 11:57:16 miguelfreitas Exp $ */ #ifdef HAVE_CONFIG_H @@ -344,7 +344,7 @@ static int demux_film_send_chunk(demux_plugin_t *this_gen) { buf->extra_info->input_pos = this->sample_table[i].sample_offset - this->data_start; buf->extra_info->input_length = this->data_size; - buf->extra_info->input_time = this->sample_table[i].pts / 90000; + buf->extra_info->input_time = this->sample_table[i].pts / 90; buf->pts = this->sample_table[i].pts; /* set the frame duration */ @@ -423,7 +423,7 @@ static int demux_film_send_chunk(demux_plugin_t *this_gen) { buf->extra_info->input_pos = this->sample_table[i].sample_offset - this->data_start; buf->extra_info->input_length = this->data_size; - buf->extra_info->input_time = this->sample_table[i].pts / 90000; + buf->extra_info->input_time = this->sample_table[i].pts / 90; buf->pts = this->sample_table[i].pts; /* set the frame duration */ @@ -461,7 +461,7 @@ static int demux_film_send_chunk(demux_plugin_t *this_gen) { buf->extra_info->input_pos = this->sample_table[i].sample_offset - this->data_start; buf->extra_info->input_length = this->data_size; - buf->extra_info->input_time = this->sample_table[i].pts / 90000; + buf->extra_info->input_time = this->sample_table[i].pts / 90; buf->pts = this->sample_table[i].pts; if (remaining_sample_bytes > buf->max_size) |