1
mirror of https://github.com/mpv-player/mpv synced 2025-01-24 19:37:30 +01:00
mpv/audio
Uoti Urpala 77eac2ec34 audio: improve decoder open failure handling
Reinitialize sh_audio->samplesize and sample_format before falling back
to another audio decoder (some decoders rely on default values). Remove
code setting these fields from demux_mkv and demux_lavf (no decoder
should depend on demuxer-set values for these fields).

Conflicts:
	audio/decode/ad_lavc.c

Merged from mplayer2 commit 6b9567. The changes to ad_lavc.c are not
merged, as they are very specific to the mplayer2 libavresample hack;
we deplanarize manually, so we can't get unsupported sample formats
yet (except on raw audio with "pcm_f64le", as we don't support
AV_SAMPLE_FMT_DBL in the audio chain).
2012-12-03 21:08:52 +01:00
..
decode audio: improve decoder open failure handling 2012-12-03 21:08:52 +01:00
filter af_lavcac3enc, encode: support planar formats 2012-12-03 20:16:17 +01:00
out ao_pcm: fix references to -novideo 2012-12-03 21:08:48 +01:00
format.c Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
format.h Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
mixer.c mixer: fix lowering hw volume while muted 2012-11-14 00:46:15 +01:00
mixer.h Rename directories, move files (step 2 of 2) 2012-11-12 20:08:18 +01:00
reorder_ch.c af_lavcac3enc, encode: support planar formats 2012-12-03 20:16:17 +01:00
reorder_ch.h af_lavcac3enc, encode: support planar formats 2012-12-03 20:16:17 +01:00