[vlc-commits] yuv: remove stub controls
    Rémi Denis-Courmont 
    git at videolan.org
       
    Thu Oct 16 19:26:01 CEST 2014
    
    
  
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 11 22:28:32 2014 +0300| [e0b809180e3f2984e0e9d71aaa19b3eda70e4ab8] | committer: Rémi Denis-Courmont
yuv: remove stub controls
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e0b809180e3f2984e0e9d71aaa19b3eda70e4ab8
---
 modules/video_output/yuv.c |   14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/modules/video_output/yuv.c b/modules/video_output/yuv.c
index 6346193..7eedcc9 100644
--- a/modules/video_output/yuv.c
+++ b/modules/video_output/yuv.c
@@ -282,16 +282,6 @@ static void Display(vout_display_t *vd, picture_t *picture, subpicture_t *subpic
 
 static int Control(vout_display_t *vd, int query, va_list args)
 {
-    VLC_UNUSED(vd);
-    switch (query) {
-    case VOUT_DISPLAY_CHANGE_FULLSCREEN: {
-        const vout_display_cfg_t *cfg = va_arg(args, const vout_display_cfg_t *);
-        if (cfg->is_fullscreen)
-            return VLC_EGENERIC;
-        return VLC_SUCCESS;
-    }
-    default:
-        return VLC_EGENERIC;
-    }
+    (void) vd; (void) query; (void) args;
+    return VLC_EGENERIC;
 }
-
    
    
More information about the vlc-commits
mailing list