[vlc-devel] [PATCH 2/3] wayland/shm: remove unused has_pictures_invalid

Steve Lhomme robux4 at ycbcr.xyz
Wed Jan 16 08:29:03 CET 2019


The module doesn't call vout_display_SendEventPicturesInvalid() anymore.
---
 modules/video_output/wayland/shm.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/video_output/wayland/shm.c b/modules/video_output/wayland/shm.c
index 5616e6c6c1..2f7c114ab3 100644
--- a/modules/video_output/wayland/shm.c
+++ b/modules/video_output/wayland/shm.c
@@ -354,8 +354,6 @@ static int Open(vout_display_t *vd, const vout_display_cfg_t *cfg,
 
     fmtp->i_chroma = VLC_CODEC_RGB32;
 
-    vd->info.has_pictures_invalid = sys->viewport == NULL;
-
     vd->prepare = Prepare;
     vd->display = Display;
     vd->control = Control;
-- 
2.17.1



More information about the vlc-devel mailing list