[vlc-commits] splitter: provide dummy display control callback

Rémi Denis-Courmont git at videolan.org
Mon Apr 1 19:46:01 CEST 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Apr  1 19:52:31 2019 +0300| [88a48573e6d30ca5abd4baa3000812da980a4737] | committer: Rémi Denis-Courmont

splitter: provide dummy display control callback

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

 modules/video_output/splitter.c | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/modules/video_output/splitter.c b/modules/video_output/splitter.c
index 0e9aca24ae..51f00b0c8e 100644
--- a/modules/video_output/splitter.c
+++ b/modules/video_output/splitter.c
@@ -94,7 +94,16 @@ static void vlc_vidsplit_Display(vout_display_t *vd, picture_t *picture)
 
 static int vlc_vidsplit_Control(vout_display_t *vd, int query, va_list args)
 {
-    (void)vd; (void)query; (void)args;
+    (void) vd; (void) args;
+
+    switch (query) {
+        case VOUT_DISPLAY_CHANGE_DISPLAY_SIZE:
+        case VOUT_DISPLAY_CHANGE_DISPLAY_FILLED:
+        case VOUT_DISPLAY_CHANGE_ZOOM:
+        case VOUT_DISPLAY_CHANGE_SOURCE_ASPECT:
+        case VOUT_DISPLAY_CHANGE_SOURCE_CROP:
+            return VLC_SUCCESS;
+    }
     return VLC_EGENERIC;
 }
 



More information about the vlc-commits mailing list