[vlc-commits] wayland/shm: return an error if resize needed

Rémi Denis-Courmont git at videolan.org
Tue Jan 15 18:23:48 CET 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jan 15 19:10:08 2019 +0200| [3287bd3b4e997cb0bd4f0ba5ef9e81a7b0b8a63e] | committer: Rémi Denis-Courmont

wayland/shm: return an error if resize needed

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

 modules/video_output/wayland/shm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/wayland/shm.c b/modules/video_output/wayland/shm.c
index cf63455cfb..5616e6c6c1 100644
--- a/modules/video_output/wayland/shm.c
+++ b/modules/video_output/wayland/shm.c
@@ -213,7 +213,7 @@ static int Control(vout_display_t *vd, int query, va_list ap)
                                             place.width, place.height);
             }
             else
-                vout_display_SendEventPicturesInvalid(vd);
+                return VLC_EGENERIC;
             break;
         }
         default:



More information about the vlc-commits mailing list