vf_libplacebo: warn on extra_opts + too old libplacebo

Instead of silently ignoring this option as before.
pull/390/head
Niklas Haas 1 year ago
parent a469186b8a
commit bef151d1ce
  1. 4
      libavfilter/vf_libplacebo.c

@ -515,6 +515,10 @@ static int update_settings(AVFilterContext *ctx)
goto fail;
}
}
#else
(void) e;
if (av_dict_count(s->extra_opts) > 0)
av_log(s, AV_LOG_WARNING, "extra_opts requires libplacebo >= 6.309!\n");
#endif
return 0;

Loading…
Cancel
Save