mpv/audio
wm4 48f9431151 af: improve filter chain setup retry limit
af_reinit() is responsible for inserting automatic conversion filters
for channel remixing, format conversion, and resampling. We don't
require that a single filter can do all these (even though
af_lavrresample does nearly all of this, sometimes af_format has to be
used instead for format conversions). This makes setting up the chain
more complicated, and a way is needed to prevent endless appending of
conversion filters if a conversion is not possible.

Until now, this used a stupidly simple yet robust static retry limit to
detect failure. This is perfectly fine, and the limit (20) was good
enough to handle about ~5 filters. But with more filters, and if each
filter requires 3 additional conversion filters, this would fail. So
raise the limit to 4 retries per filter. This is still stupidly simple
and robust, but won't arbitrarily fail if the filter count is too large.
2013-05-12 21:45:05 +02:00
..
decode audio: print channel map additionally to channel count on terminal 2013-05-12 21:24:56 +02:00
filter af: improve filter chain setup retry limit 2013-05-12 21:45:05 +02:00
out ao_alsa: set fallback if format unknown 2013-05-12 21:24:57 +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.c audio: add channel map selection function 2013-05-12 21:24:57 +02:00
chmap.h audio/out: channel map selection 2013-05-12 21:24:57 +02:00
chmap_sel.c audio: add channel map selection function 2013-05-12 21:24:57 +02:00
chmap_sel.h audio: add channel map selection function 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: add double sample format 2013-05-12 21:24:57 +02:00
format.h audio: add double sample format 2013-05-12 21:24:57 +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 reorder_ch: remove old channel reorder functions 2013-05-12 21:24:55 +02:00
reorder_ch.h reorder_ch: remove old channel reorder functions 2013-05-12 21:24:55 +02:00