History

lavfi: remove AVFilter.init_dict()

Nothing uses it anymore. All options on all filters can now be set with normal AVOptions mechanisms, such as av_opt_set*().

Anton Khirnov committed 3 years ago

Commit a7b1b4b1 parent 018a8b92 files · +0 −15Browse files

Showing the changes to libavfilter/avfilter.c (1 of 2 files). Show all

Unified · Split

libavfilter/avfilter.c+0−2
@@ -912,8 +912,6 @@ int avfilter_init_dict(AVFilterContext *ctx, AVDictionary **options) · 911 unmodified lines
912 912
913 if (ctx->filter->init)913 if (ctx->filter->init)
914 ret = ctx->filter->init(ctx);914 ret = ctx->filter->init(ctx);
915 else if (ctx->filter->init_dict)
916 ret = ctx->filter->init_dict(ctx, options);
917 if (ret < 0)915 if (ret < 0)
918 return ret;916 return ret;
919 917

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