1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 18:12:22 +00:00
mpv/audio/decode
wm4 66a9eb570d demux_mkv: never force output sample rate
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.
2013-07-16 22:44:15 +02:00
..
ad_internal.h audio/decode: remove vararg from ad_control() 2013-04-12 20:35:59 +02:00
ad_lavc.c demux_mkv: never force output sample rate 2013-07-16 22:44:15 +02:00
ad_mpg123.c demux: remove facility for partial packet reads 2013-07-11 19:10:33 +02:00
ad_spdif.c ad_spdif: better PTS sync 2013-07-11 19:14:30 +02:00
ad.c core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
ad.h demux: remove facility for partial packet reads 2013-07-11 19:10:33 +02:00
dec_audio.c mplayer: fix incorrect audio sync after format changes 2013-07-11 19:15:09 +02:00
dec_audio.h core: make options.c compile standalone 2013-06-08 17:08:20 +02:00