diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/demuxers/demux_film.c | 6 | ||||
-rw-r--r-- | src/demuxers/demux_qt.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/demuxers/demux_film.c b/src/demuxers/demux_film.c index f025607af..3b7d78954 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.7 2002/06/03 13:31:13 miguelfreitas Exp $ + * $Id: demux_film.c,v 1.8 2002/06/03 13:55:46 miguelfreitas Exp $ */ #ifdef HAVE_CONFIG_H @@ -286,8 +286,8 @@ printf ("************ sending new pts\n"); this->audio_fifo->put (this->audio_fifo, buf); } - /* set last_frame_pts to some sane value on seek */ - last_frame_pts = this->sample_table[i].pts - 3000; + /* reset last_frame_pts on seek */ + last_frame_pts = 0; } /* check if all the samples have been sent */ diff --git a/src/demuxers/demux_qt.c b/src/demuxers/demux_qt.c index 99fd3c0db..a682c7f18 100644 --- a/src/demuxers/demux_qt.c +++ b/src/demuxers/demux_qt.c @@ -30,7 +30,7 @@ * build_frame_table * free_qt_info * - * $Id: demux_qt.c,v 1.38 2002/06/03 13:50:50 miguelfreitas Exp $ + * $Id: demux_qt.c,v 1.39 2002/06/03 13:55:46 miguelfreitas Exp $ * */ @@ -1043,8 +1043,8 @@ static void *demux_qt_loop (void *this_gen) { this->audio_fifo->put (this->audio_fifo, buf); } - /* set last_frame_pts to some sane value on seek */ - last_frame_pts = this->qt->frames[i].pts - 3000; + /* reset last_frame_pts on seek */ + last_frame_pts = 0; } /* check if all the samples have been sent */ |