[FFmpeg-devel] [PATCH] avfilter/setparams: add FF_FILTER_FLAG_HWFRAME_AWARE
Paul B Mahol
onemda at gmail.com
Wed Sep 23 22:32:05 EEST 2020
On Mon, Sep 21, 2020 at 09:47:40PM -0600, Pavel Koshevoy wrote:
> Allow setparams to be used with hw backed frames and
> avoid an assertion failure in avfilter_config_links.
> ---
> libavfilter/vf_setparams.c | 3 +++
> 1 file changed, 3 insertions(+)
>
LGTM
> diff --git a/libavfilter/vf_setparams.c b/libavfilter/vf_setparams.c
> index 689097fac0..72a69e3fc2 100644
> --- a/libavfilter/vf_setparams.c
> +++ b/libavfilter/vf_setparams.c
> @@ -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 */
> --
> 2.26.2
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel
mailing list