1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 01:52:19 +00:00
mpv/audio
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
..
decode demux_mkv: never force output sample rate 2013-07-16 22:44:15 +02:00
filter af_lavfi: add libavfilter bridge 2013-05-23 17:44:06 +02:00
out ao_wasapi0: use new mp_ring buffer 2013-07-12 20:01:23 +02:00
audio.c audio: add channel map selection function 2013-05-12 21:24:57 +02:00
audio.h audio/filters: add af_force 2013-05-12 21:24:56 +02:00
chmap_sel.c ao_jack: allow more control about channel layouts 2013-07-07 18:37:55 +02:00
chmap_sel.h audio: add channel map selection function 2013-05-12 21:24:57 +02:00
chmap.c chmap: fix oddity due to ambiguous 6.1 ffmpeg channel layout 2013-05-13 23:55:39 +02:00
chmap.h audio/out: channel map selection 2013-05-12 21:24:57 +02:00
fmt-conversion.c audio: add double sample format 2013-05-12 21:24:57 +02:00
fmt-conversion.h ad_lavc: use fmt-conversion to map sample formats 2013-04-13 04:21:27 +02:00
format.c audio: fix af_fmt_seconds_to_bytes 2013-06-16 19:28:04 +02:00
format.h audio: fix af_fmt_seconds_to_bytes 2013-06-16 19:28:04 +02:00
mixer.c audio/out: switch to channel map 2013-05-12 21:24:54 +02:00
mixer.h mplayer: keep volume persistent, even when using --volume 2013-04-10 21:29:04 +02:00
reorder_ch.c audio: fix compilation with older libavresample versions 2013-05-13 00:39:07 +02:00
reorder_ch.h audio: fix compilation with older libavresample versions 2013-05-13 00:39:07 +02:00