diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-06-03 13:55:46 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-06-03 13:55:46 +0000 |
commit | 4849b574232233c801f244406b7cd16a0e52add3 (patch) | |
tree | b3bf9947fc2642322df19a604ea9d08082fb026c | |
parent | 7069cb73720d370c56abe018412d5b3490fafb95 (diff) | |
download | xine-lib-4849b574232233c801f244406b7cd16a0e52add3.tar.gz xine-lib-4849b574232233c801f244406b7cd16a0e52add3.tar.bz2 |
cosmetic fix. (i haven't noticed BUF_FLAG_FRAMERATE is only sent if
last_frame_pts != 0)
CVS patchset: 1997
CVS date: 2002/06/03 13:55:46
-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 */ |