[vlc-commits] mmal/deinterlace: remove empty flush callback in passthrough mode

Steve Lhomme git at videolan.org
Fri Oct 9 13:41:10 CEST 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Oct  6 11:58:25 2020 +0200| [d218f98fa2bc4738f52b39e517a1ee6f89683346] | committer: Steve Lhomme

mmal/deinterlace: remove empty flush callback in passthrough mode

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d218f98fa2bc4738f52b39e517a1ee6f89683346
---

 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 404d200728..2157d885cf 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)



More information about the vlc-commits mailing list