mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
build: simplify libavfilter configure checks
This is all not needed anymore. In particular, remove all configure switches except --enable-libavfilter.
This commit is contained in:
@@ -56,7 +56,7 @@ bool mp_parse_cfgfiles(struct MPContext *mpctx)
|
||||
char *conffile;
|
||||
|
||||
// The #if is a stupid hack to avoid errors if libavfilter is not available.
|
||||
#if HAVE_VF_LAVFI && HAVE_ENCODING
|
||||
#if HAVE_LIBAVFILTER && HAVE_ENCODING
|
||||
conffile = mp_find_config_file(tmp, mpctx->global, "encoding-profiles.conf");
|
||||
if (conffile && mp_path_exists(conffile))
|
||||
m_config_parse_config_file(mpctx->mconfig, conffile, 0);
|
||||
|
||||
Reference in New Issue
Block a user