mirror of
https://github.com/mpv-player/mpv
synced 2024-12-23 15:22:09 +00:00
66a9eb570d
Matroska has an output sample rate (OutputSamplingFrequency), which in theory should be forced instead of whatever the decoder outputs. But it appears no software (other than mplayer2 and mpv until now) actually respects this. Even worse, there were broken files around, which played correctly with (in theory) broken software, but not mplayer2/mpv. Hacks were added to our code to play these files correctly, but they didn't catch all cases. Simplify this by doing what everyone else does, and always use the decoder's sample rate instead. In particular, we try to handle all sample rate issues like libavformat's Matroska demuxer does. |
||
---|---|---|
.. | ||
ad_internal.h | ||
ad_lavc.c | ||
ad_mpg123.c | ||
ad_spdif.c | ||
ad.c | ||
ad.h | ||
dec_audio.c | ||
dec_audio.h |