1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-21 22:30:22 +00:00
mpv/audio
wm4 a72072c605 af_lavcac3enc: simplify format negotiation
The format negotiation is the same, except don't confusingly copy the
input format into af->data, just to overwrite it later. af->data should
alwass contain the output format, and the existing code was just a very
misguided use of the af_test_output() helper function.

Just set af->data to the output format immediately, and modify the input
format properly.

Also, if format negotiation fails (and needs another iteration), don't
initialize the libavcodec encoder.
2013-11-12 23:34:37 +01:00
..
decode audio/filter: fix mul/delay scale and values 2013-11-12 23:34:35 +01:00
filter af_lavcac3enc: simplify format negotiation 2013-11-12 23:34:37 +01:00
out ao_openal: support non-interleaved output 2013-11-12 23:30:37 +01:00
audio_buffer.c audio: add mp_audio_buffer 2013-11-12 23:28:21 +01:00
audio_buffer.h audio: add mp_audio_buffer 2013-11-12 23:28:21 +01:00
audio.c audio/filter: prepare filter chain for non-interleaved audio 2013-11-12 23:16:31 +01:00
audio.h audio/filter: prepare filter chain for non-interleaved audio 2013-11-12 23:16:31 +01: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 core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
chmap.h core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
fmt-conversion.c audio/format: add non-interleaved audio formats 2013-11-12 23:16:27 +01:00
fmt-conversion.h ad_lavc: use fmt-conversion to map sample formats 2013-04-13 04:21:27 +02:00
format.c audio/format: add non-interleaved audio formats 2013-11-12 23:16:27 +01:00
format.h audio/format: add non-interleaved audio formats 2013-11-12 23:16:27 +01:00
mixer.c af_volume: use only one volume setting for all channels 2013-11-09 23:32:58 +01:00
mixer.h command: don't allow changing volume if no audio initialized 2013-10-12 18:57:02 +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