[vlc-devel] [PATCH 05/18] mmal/deinterlace: remove empty flush callback in passthrough mode

Steve Lhomme robux4 at ycbcr.xyz
Thu Oct 8 10:31:59 CEST 2020


---
 modules/hw/mmal/deinterlace.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/modules/hw/mmal/deinterlace.c b/modules/hw/mmal/deinterlace.c
index 404d2007283..2157d885cfe 100644
--- a/modules/hw/mmal/deinterlace.c
+++ b/modules/hw/mmal/deinterlace.c
@@ -340,12 +340,6 @@ static void di_flush(filter_t *p_filter)
 }
 
 
-static void pass_flush(filter_t *p_filter)
-{
-    // Nothing to do
-    VLC_UNUSED(p_filter);
-}
-
 static picture_t * pass_deinterlace(filter_t * p_filter, picture_t * p_pic)
 {
     VLC_UNUSED(p_filter);
@@ -423,7 +417,7 @@ static const struct vlc_filter_operations filter_ops = {
 };
 
 static const struct vlc_filter_operations filter_pass_ops = {
-    .filter_video = pass_deinterlace, .flush = pass_flush,
+    .filter_video = pass_deinterlace,
 };
 
 static int OpenMmalDeinterlace(vlc_object_t *p_this)
-- 
2.26.2



More information about the vlc-devel mailing list