mirror of
https://github.com/mpv-player/mpv
synced 2024-11-18 21:16:10 +01:00
2dd2d9bcfc
Since libavcodec doesn't have a "generic" PCM decoder, we have to go out of out way to make it look like ad_lavc provides one: make it provide a pseudo "pcm" decoder, which maps some format tags manually to the individual libavcodec PCM decoders. Format tags which uniquely map to one libavcodec could be mapped via codecs.conf. Since defining these in tag_map[] is much shorter (one line vs. a full codec entry in codecs.conf), and since we need tag_map[] anyway, we don't use codecs.conf for these. ad_pcm is evil because it still does partial packet reads (with demux_read_data()), and it's redundant to libavcodec anyway. |
||
---|---|---|
.. | ||
decode | ||
filter | ||
out | ||
format.c | ||
format.h | ||
mixer.c | ||
mixer.h | ||
reorder_ch.c | ||
reorder_ch.h |