summaryrefslogtreecommitdiff
path: root/src/xine-engine/demux.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xine-engine/demux.c')
-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 33477cc0f..47d8aed14 100644
--- a/src/xine-engine/demux.c
+++ b/src/xine-engine/demux.c
@@ -49,7 +49,11 @@
#define LOG
*/
-/* internal use only - called from demuxers on seek/stop
+/*
+ * Flush audio and video buffers. It is called from demuxers on
+ * seek/stop, and may be useful when user input changes a stream and
+ * xine-lib has cached buffers that have yet to be played.
+ *
* warning: after clearing decoders fifos an absolute discontinuity
* indication must be sent. relative discontinuities are likely
* to cause "jumps" on metronom.