From f9604148d3461cabc34a37ef3419e67af2ce6953 Mon Sep 17 00:00:00 2001 From: Thibaut Mattern Date: Sun, 23 Jun 2002 18:35:41 +0000 Subject: 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 --- src/demuxers/demux_avi.c | 4 ++-- 1 file 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) ) { -- cgit v1.2.3