Skip to content
Snippets Groups Projects
Commit 7f5d75f9 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

cmdutils: ignore sws_flags if swscale is not enabled


This avoids some failures during fate when swscale is disabled

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 3f424346
No related branches found
No related tags found
No related merge requests found
...@@ -555,6 +555,11 @@ int opt_default(void *optctx, const char *opt, const char *arg) ...@@ -555,6 +555,11 @@ int opt_default(void *optctx, const char *opt, const char *arg)
} }
consumed = 1; consumed = 1;
} }
#else
if (!consumed && !strcmp(opt, "sws_flags")) {
av_log(NULL, AV_LOG_WARNING, "Ignoring %s %s, due to disabled swscale\n", opt, arg);
consumed = 1;
}
#endif #endif
#if CONFIG_SWRESAMPLE #if CONFIG_SWRESAMPLE
swr_class = swr_get_class(); swr_class = swr_get_class();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment