summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThibaut Mattern <tmattern@users.sourceforge.net>2003-10-14 23:22:10 +0000
committerThibaut Mattern <tmattern@users.sourceforge.net>2003-10-14 23:22:10 +0000
commit72f38e2184c53c4e627088e09b99facecdfdde61 (patch)
treecd3a29a4953d201a819e657c34d3a162a33ed577 /src
parent6b27f8fcb58e269d42b82c963b4aa322468e810b (diff)
downloadxine-lib-72f38e2184c53c4e627088e09b99facecdfdde61.tar.gz
xine-lib-72f38e2184c53c4e627088e09b99facecdfdde61.tar.bz2
just a little comment
CVS patchset: 5523 CVS date: 2003/10/14 23:22:10
Diffstat (limited to 'src')
-rw-r--r--src/xine-engine/demux.c6
1 files changed, 5 insertions, 1 deletions
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