diff options
author | Uoti Urpala <uau@mplayer2.org> | 2011-04-02 22:39:01 +0300 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-04-02 22:53:18 +0300 |
commit | e3631231a1be57cbf854d5897cd9378249ffd865 (patch) | |
tree | 13318a93e2ceae5f844e9112c0f72cab8b81c17b /cpuinfo.c | |
parent | 1bda89eabac6414d5f0f34d445793e9745b74e94 (diff) | |
download | mpv-e3631231a1be57cbf854d5897cd9378249ffd865.tar.bz2 mpv-e3631231a1be57cbf854d5897cd9378249ffd865.tar.xz |
demux_mkv, demux_lavf: don't select initial audio track
Remove code that tries to select audio track during demuxer
initialization from demux_mkv and demux_lavf. Just leave audio
disabled at that point; the higher-level select_audio() function will
call the demuxer to switch track later anyway.
Removing this unneeded code also fixes use of these demuxers as the
main demuxer with -audiofile. Before the automatic track selection
would have enabled an audio track (if the file had any); as the main
demuxer was not used for audio the unused packets from this enabled
track would accumulate until they reached queue size limits.
Diffstat (limited to 'cpuinfo.c')
0 files changed, 0 insertions, 0 deletions