summaryrefslogtreecommitdiffstats
path: root/demux/demux.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-12 22:26:15 +0200
committerwm4 <wm4@nowhere>2013-07-12 22:29:34 +0200
commit6c1e9e4a45d92216a1433ed73ba8f2e09529ca19 (patch)
tree5c54fa53c2f66f39eed77964996747bb2883c142 /demux/demux.c
parent5de4a3ecc0f8fce923b3016e62d44351b2457fc2 (diff)
downloadmpv-6c1e9e4a45d92216a1433ed73ba8f2e09529ca19.tar.bz2
mpv-6c1e9e4a45d92216a1433ed73ba8f2e09529ca19.tar.xz
demux: make claiming accurate seek the default
Enables hr-seek for raw audio/video demuxers.
Diffstat (limited to 'demux/demux.c')
-rw-r--r--demux/demux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/demux/demux.c b/demux/demux.c
index 836c945bc4..1783f92c96 100644
--- a/demux/demux.c
+++ b/demux/demux.c
@@ -534,6 +534,7 @@ static struct demuxer *open_given_type(struct MPOpts *opts,
.movi_start = stream->start_pos,
.movi_end = stream->end_pos,
.seekable = 1,
+ .accurate_seek = true,
.filepos = -1,
.opts = opts,
.filename = talloc_strdup(demuxer, stream->url),