diff options
author | wm4 <wm4@nowhere> | 2014-08-06 19:25:37 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-08-06 20:30:47 +0200 |
commit | 64e1132d39c7124d1f7376e49a311d34a636cb26 (patch) | |
tree | 3e26ff19a5c04e166185a3b982c587378069aa07 /input/keycodes.c | |
parent | b38ac38aec46dc6f36d928731ba138a1d4347c7f (diff) | |
download | mpv-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 'input/keycodes.c')
0 files changed, 0 insertions, 0 deletions