History

vf_libplacebo: warn on extra_opts + too old libplacebo

Instead of silently ignoring this option as before.

Niklas Haas committed 3 years ago

Commit bef151d1 parent a4691861 file · +4 −0Browse files

Unified · Split

libavfilter/vf_libplacebo.c+4−0
@@ -515,6 +515,10 @@ static int update_settings(AVFilterContext *ctx) · 514 unmodified lines
515 goto fail;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#endif522#endif
519 523
520 return 0;524 return 0;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t