]> git.sesse.net Git - ffmpeg/blobdiff - cmdutils.c
Merge commit '3c650efb81aaa3b395ba4606ee68a47ee4efb57b'
[ffmpeg] / cmdutils.c
index eb60ac487ec070b58df2ef90f248caf0fa8a7a52..67bb66e9b59e212334de84eb705ac09faa19d876 100644 (file)
@@ -555,6 +555,11 @@ int opt_default(void *optctx, const char *opt, const char *arg)
         }
         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
 #if CONFIG_SWRESAMPLE
     swr_class = swr_get_class();