From 5957f828b0e5cc2cb9953dc237b2c3f32f59a31b Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 16 Nov 2013 21:11:06 +0100 Subject: demux: update a comment --- demux/demux.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'demux') diff --git a/demux/demux.c b/demux/demux.c index 983a96c90a..0078e72cdd 100644 --- a/demux/demux.c +++ b/demux/demux.c @@ -618,9 +618,9 @@ int demux_seek(demuxer_t *demuxer, float rel_seek_secs, int flags) // clear demux buffers: demux_flush(demuxer); - /* HACK: assume any demuxer used with these streams can cope with - * the stream layer suddenly seeking to a different position under it - * (nothing actually implements DEMUXER_CTRL_RESYNC now). + /* Note: this is for DVD and BD playback. The stream layer has to do these + * seeks, and the demuxer has to react to DEMUXER_CTRL_RESYNC in order to + * deal with the suddenly changing stream position. */ struct stream *stream = demuxer->stream; if (stream_manages_timeline(stream)) { -- cgit v1.2.3