if (consumed)
return 0;
- av_log(NULL, AV_LOG_ERROR, "Could not find option '%s' in any of the FFmpeg subsystems "
- "(codec, format, scaler, resampler contexts)\n", opt);
return AVERROR_OPTION_NOT_FOUND;
}
static void show_help_filter(const char *name)
{
+#if CONFIG_AVFILTER
const AVFilter *filter;
if (!name) {
show_help_children(filter->priv_class, AV_OPT_FLAG_FILTERING_PARAM);
else
printf("No AVOption available\n");
+#else
+ av_log(NULL, AV_LOG_ERROR, "Build without libavfilter; "
+ "can not to satisfy request\n");
+#endif
}
int show_help(void *optctx, const char *opt, const char *arg)