From 72f38e2184c53c4e627088e09b99facecdfdde61 Mon Sep 17 00:00:00 2001 From: Thibaut Mattern Date: Tue, 14 Oct 2003 23:22:10 +0000 Subject: just a little comment CVS patchset: 5523 CVS date: 2003/10/14 23:22:10 --- src/xine-engine/demux.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/xine-engine/demux.c b/src/xine-engine/demux.c index 47d8aed14..482dd96f6 100644 --- a/src/xine-engine/demux.c +++ b/src/xine-engine/demux.c @@ -248,8 +248,12 @@ static void *demux_loop (void *stream_gen) { printf ("demux: main demuxer loop finished (status: %d)\n", status); #endif - /* wait before sending end buffers: user might want to do a new seek */ + /* tell to the net_buf_ctrl that we are at the end of the stream + * then the net_buf_ctrl will not pause + */ xine_demux_control_nop(stream, BUF_FLAG_END_STREAM); + + /* wait before sending end buffers: user might want to do a new seek */ while(stream->demux_thread_running && ((!stream->video_fifo || stream->video_fifo->size(stream->video_fifo)) || (stream->audio_out -- cgit v1.2.3