From 4fceb2634e7a81e40c49df6478d924558bdc607c Mon Sep 17 00:00:00 2001 From: Mark Thompson Date: Tue, 29 Sep 2020 17:01:22 +0100 Subject: [PATCH] Revert "avfilter/setparams: add FF_FILTER_FLAG_HWFRAME_AWARE" This reverts commit 5bbf58ab876279ca1a5a2f30563f271c99b93e62. The setparams filters are not hwframe aware, so the default context passthrough behaviour is needed to allow using them with hardware frames. --- libavfilter/vf_setparams.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavfilter/vf_setparams.c b/libavfilter/vf_setparams.c index 72a69e3fc2..689097fac0 100644 --- a/libavfilter/vf_setparams.c +++ b/libavfilter/vf_setparams.c @@ -169,7 +169,6 @@ AVFilter ff_vf_setparams = { .priv_class = &setparams_class, .inputs = inputs, .outputs = outputs, - .flags_internal = FF_FILTER_FLAG_HWFRAME_AWARE, }; #if CONFIG_SETRANGE_FILTER @@ -209,7 +208,6 @@ AVFilter ff_vf_setrange = { .priv_class = &setrange_class, .inputs = inputs, .outputs = outputs, - .flags_internal = FF_FILTER_FLAG_HWFRAME_AWARE, }; #endif /* CONFIG_SETRANGE_FILTER */ @@ -244,6 +242,5 @@ AVFilter ff_vf_setfield = { .priv_class = &setfield_class, .inputs = inputs, .outputs = outputs, - .flags_internal = FF_FILTER_FLAG_HWFRAME_AWARE, }; #endif /* CONFIG_SETFIELD_FILTER */