summaryrefslogtreecommitdiffstats
path: root/demux/cue.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-06-19 21:42:55 +0200
committerwm4 <wm4@nowhere>2015-06-19 21:42:55 +0200
commitfd557a0178ec64f03ec543eaf334209d7c2d08c5 (patch)
treeed2e6c723c3cf1c445ed5cd3422ac26a6c8a6d6b /demux/cue.c
parentf544cd05010fe1e5d6da7f8674fa0cc357c6d035 (diff)
downloadmpv-fd557a0178ec64f03ec543eaf334209d7c2d08c5.tar.bz2
mpv-fd557a0178ec64f03ec543eaf334209d7c2d08c5.tar.xz
demux_mkv: separate generic and non-VfW audio codec handling parts
Native Matroska codec support has to map the Matroska codec IDs to libavcodec ones, and also has to undo codec-specific Matroska strangeness, such as restoring AAC extradata and realaudio handling. The VfW codec support doesn't need it, because AVI maps well enough to libavcodec conventions (possibly because AVI was a dominant codec when libavcodec was created). But there's still some need for generic codec handling, such as enabling parsers and messing with various codec parameters. Separate these two, and move the parts which are guaranteed not to be needed by VfW to the if-else tree that handles the VfW case ("A_MS/ACM"), making the cases exclusive. (This should probably be done more radically, since it's very unlikely that we should or have to mess with the VfW parameters at all - they should just be passed through to the decoder.)
Diffstat (limited to 'demux/cue.c')
0 files changed, 0 insertions, 0 deletions