From fdb300b983744c522f335ccf64e9788b78f86701 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 21 Sep 2017 12:48:30 +0200 Subject: audio: make libaf derived code optional This code could not be relicensed. The intention was to write new filter code (which could handle both audio and video), but that's a bit of work. Write some code that can do audio conversion (resampling, downmixing, etc.) without the old audio filter chain code in order to speed up the LGPL relicensing. If you build with --disable-libaf, nothing in audio/filter/* is compiled in. It breaks a few features, such as --volume, --af, pitch correction on speed changes, replaygain. Most likely this adds some bugs, even if --disable-libaf is not used. (How the fuck does EOF notification work again anyway?) --- player/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player/video.c') diff --git a/player/video.c b/player/video.c index e1034c46f0..03331c7828 100644 --- a/player/video.c +++ b/player/video.c @@ -34,6 +34,7 @@ #include "osdep/timer.h" #include "audio/out/ao.h" +#include "audio/format.h" #include "demux/demux.h" #include "stream/stream.h" #include "sub/osd.h" @@ -42,7 +43,6 @@ #include "video/decode/dec_video.h" #include "video/decode/vd.h" #include "video/out/vo.h" -#include "audio/filter/af.h" #include "audio/decode/dec_audio.h" #include "core.h" -- cgit v1.2.3