mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 08:42:39 +00:00
avfilter/setparams: add FF_FILTER_FLAG_HWFRAME_AWARE
Allow setparams to be used with hw backed frames and avoid an assertion failure in avfilter_config_links.
This commit is contained in:
parent
5bf22519ce
commit
5bbf58ab87
@ -169,6 +169,7 @@ AVFilter ff_vf_setparams = {
|
||||
.priv_class = &setparams_class,
|
||||
.inputs = inputs,
|
||||
.outputs = outputs,
|
||||
.flags_internal = FF_FILTER_FLAG_HWFRAME_AWARE,
|
||||
};
|
||||
|
||||
#if CONFIG_SETRANGE_FILTER
|
||||
@ -208,6 +209,7 @@ AVFilter ff_vf_setrange = {
|
||||
.priv_class = &setrange_class,
|
||||
.inputs = inputs,
|
||||
.outputs = outputs,
|
||||
.flags_internal = FF_FILTER_FLAG_HWFRAME_AWARE,
|
||||
};
|
||||
#endif /* CONFIG_SETRANGE_FILTER */
|
||||
|
||||
@ -242,5 +244,6 @@ AVFilter ff_vf_setfield = {
|
||||
.priv_class = &setfield_class,
|
||||
.inputs = inputs,
|
||||
.outputs = outputs,
|
||||
.flags_internal = FF_FILTER_FLAG_HWFRAME_AWARE,
|
||||
};
|
||||
#endif /* CONFIG_SETFIELD_FILTER */
|
||||
|
Loading…
Reference in New Issue
Block a user