diff options
author | Thibaut Mattern <tmattern@users.sourceforge.net> | 2002-06-23 18:35:41 +0000 |
---|---|---|
committer | Thibaut Mattern <tmattern@users.sourceforge.net> | 2002-06-23 18:35:41 +0000 |
commit | f9604148d3461cabc34a37ef3419e67af2ce6953 (patch) | |
tree | 14492ad04f53252dec8794064d668b85520a66f6 | |
parent | aac8f9c329942d0be3128cdab01083eed067ad2f (diff) | |
download | xine-lib-f9604148d3461cabc34a37ef3419e67af2ce6953.tar.gz xine-lib-f9604148d3461cabc34a37ef3419e67af2ce6953.tar.bz2 |
Use BUF_FLAG_SEEK.
Avoid multiple messages like this (1 second after a seek) :
inserting xxxx 0-frames to fill a gap of xxxxx pts
Now there is only one ao_fill_gap, immediately after the seek and that fills the whole gap in one time.
It seems to work fine with divx movies.
Please tell me if it works.
CVS patchset: 2139
CVS date: 2002/06/23 18:35:41
-rw-r--r-- | src/demuxers/demux_avi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demuxers/demux_avi.c b/src/demuxers/demux_avi.c index d87037aa7..45247b1d1 100644 --- a/src/demuxers/demux_avi.c +++ b/src/demuxers/demux_avi.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: demux_avi.c,v 1.96 2002/06/20 00:21:52 siggi Exp $ + * $Id: demux_avi.c,v 1.97 2002/06/23 18:35:41 tmattern Exp $ * * demultiplexer for avi streams * @@ -1345,7 +1345,7 @@ static int demux_avi_start (demux_plugin_t *this_gen, if( this->status == DEMUX_OK ) { - xine_demux_control_newpts(this->xine, video_pts, 0); + xine_demux_control_newpts(this->xine, video_pts, BUF_FLAG_SEEK); } if( !this->thread_running && (this->status == DEMUX_OK) ) { |