summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-08-06 19:25:37 +0200
committerwm4 <wm4@nowhere>2014-08-06 20:30:47 +0200
commit64e1132d39c7124d1f7376e49a311d34a636cb26 (patch)
tree3e26ff19a5c04e166185a3b982c587378069aa07 /video
parentb38ac38aec46dc6f36d928731ba138a1d4347c7f (diff)
downloadmpv-64e1132d39c7124d1f7376e49a311d34a636cb26.tar.bz2
mpv-64e1132d39c7124d1f7376e49a311d34a636cb26.tar.xz
demux: make track switching asynchronous
Because why not. This can lead to reordering of operations between seeking and track switching (happens when the demuxer wakes up after seek and track switching operations were queued). Do the track switching strictly before seeks if there is a chance of reordering, which guarantees that the seek position will always start with key frames. The reverse (seeking, then switching) does not really have any advantages. (Not sure if the player relies on this behavior.)
Diffstat (limited to 'video')
0 files changed, 0 insertions, 0 deletions