diff options
author | wm4 <wm4@nowhere> | 2013-05-29 14:54:51 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-05-29 14:57:05 +0200 |
commit | 6bfbca9912c2d86d6b28dc5000bb878fb5fbe849 (patch) | |
tree | e8b174024f482dd34d365f1f83fe455498f5c324 /video/out/gl_video.c | |
parent | fa75ae96e1b2bc0d689a957d4c522002965c4eb2 (diff) | |
download | mpv-6bfbca9912c2d86d6b28dc5000bb878fb5fbe849.tar.bz2 mpv-6bfbca9912c2d86d6b28dc5000bb878fb5fbe849.tar.xz |
core: avoid deselecting and reselecting stream needlessly
The core deselected all streams on initialization, and then selected the
streams it actually wanted. This was no problem for
demux_mkv/demux_lavf, but old demuxers (like demux_asf) could lose some
packets. The problem is that these demuxers can buffer some data on
initialization, which then is flushed on track switching. Fix this by
explicitly avoiding deselecting a wanted stream.
Diffstat (limited to 'video/out/gl_video.c')
0 files changed, 0 insertions, 0 deletions