Instead of silently ignoring this option as before.
Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -515,6 +515,10 @@ static int update_settings(AVFilterContext *ctx) · 514 unmodified lines | ||
| 515 | 515 | goto fail; |
| 516 | 516 | } |
| 517 | 517 | } |
| 518 | +#else | |
| 519 | + (void) e; | |
| 520 | + if (av_dict_count(s->extra_opts) > 0) | |
| 521 | + av_log(s, AV_LOG_WARNING, "extra_opts requires libplacebo >= 6.309!\n"); | |
| 518 | 522 | #endif |
| 519 | 523 | |
| 520 | 524 | return 0; |