mirror of
https://github.com/mpv-player/mpv
synced 2024-12-19 13:21:13 +00:00
60a7f3b8bc
Mostly copied from vf_lavfi. The parts that could be shared are minor, because most code is about setting up audio and video, which are too different. This won't work with Libav. I used ffplay.c as guide, and noticed too late that their setup methods are incompatible with Libav's. Trying to make it work with both would be too much effort. The configure test for av_opt_set_int_list() should disable af_lavfi gracefully when compiling with Libav. Due to option parser chaos, you currently can't have a "," as part of the filter graph string - not even with quoting or escaping. This will probably be fixed later. The audio filter chain is not PTS aware. So we have to do some hacks to make up a fake PTS, and we have to map the output PTS back to the filter chain's method of tracking PTS changes and buffering, by adjusting af->delay. |
||
---|---|---|
.. | ||
af_bs2b.c | ||
af_center.c | ||
af_channels.c | ||
af_delay.c | ||
af_drc.c | ||
af_dummy.c | ||
af_equalizer.c | ||
af_export.c | ||
af_extrastereo.c | ||
af_force.c | ||
af_format.c | ||
af_hrtf.c | ||
af_hrtf.h | ||
af_karaoke.c | ||
af_ladspa.c | ||
af_lavcac3enc.c | ||
af_lavfi.c | ||
af_lavrresample.c | ||
af_pan.c | ||
af_scaletempo.c | ||
af_sinesuppress.c | ||
af_sub.c | ||
af_surround.c | ||
af_sweep.c | ||
af_tools.c | ||
af_volume.c | ||
af.c | ||
af.h | ||
control.h | ||
dsp.h | ||
equalizer.h | ||
filter.c | ||
filter.h | ||
window.c | ||
window.h |