]> git.sesse.net Git - ffmpeg/commitdiff
Revert "avfilter/setparams: add FF_FILTER_FLAG_HWFRAME_AWARE"
authorMark Thompson <sw@jkqxz.net>
Tue, 29 Sep 2020 16:01:22 +0000 (17:01 +0100)
committerMark Thompson <sw@jkqxz.net>
Tue, 29 Sep 2020 16:07:43 +0000 (17:07 +0100)
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

index 72a69e3fc29b7bc83e09373f7ffae89c0c9cda84..689097fac0b02243c9109eda45f4630fd2fcd467 100644 (file)
@@ -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 */