diff options
author | wm4 <wm4@nowhere> | 2013-11-16 21:11:06 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-16 21:46:17 +0100 |
commit | 5957f828b0e5cc2cb9953dc237b2c3f32f59a31b (patch) | |
tree | 930203ba0ea8507e85a34530355d817783d4ba49 /demux/demux.c | |
parent | 2ea23fd107eae93d9e2921a025ca51587428fd73 (diff) | |
download | mpv-5957f828b0e5cc2cb9953dc237b2c3f32f59a31b.tar.bz2 mpv-5957f828b0e5cc2cb9953dc237b2c3f32f59a31b.tar.xz |
demux: update a comment
Diffstat (limited to 'demux/demux.c')
-rw-r--r-- | demux/demux.c | 6 |
1 files changed, 3 insertions, 3 deletions
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)) { |