[vlc-commits] Linux FB: remove stub controls

Rémi Denis-Courmont git at videolan.org
Thu Oct 16 19:26:05 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Oct 12 18:17:51 2014 +0300| [fa2a49e0fc55c9b24e4ce53557a0ce8a00dd0b44] | committer: Rémi Denis-Courmont

Linux FB: remove stub controls

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

 modules/video_output/fb.c |   16 ++--------------
 1 file changed, 2 insertions(+), 14 deletions(-)

diff --git a/modules/video_output/fb.c b/modules/video_output/fb.c
index 9199c6b..a2d9a57 100644
--- a/modules/video_output/fb.c
+++ b/modules/video_output/fb.c
@@ -395,20 +395,8 @@ 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)
 {
-    vout_display_sys_t *sys = vd->sys;
-
-    switch (query) {
-    case VOUT_DISPLAY_CHANGE_DISPLAY_SIZE: {
-        const vout_display_cfg_t *cfg = va_arg(args, const vout_display_cfg_t *);
-        if (cfg->display.width  != sys->width ||
-            cfg->display.height != sys->height)
-            return VLC_EGENERIC;
-        return VLC_SUCCESS;
-    }
-    default:
-        msg_Err(vd, "Unsupported query in vout display fb");
-        return VLC_EGENERIC;
-    }
+    (void) vd; (void) query; (void) args;
+    return VLC_EGENERIC;
 }
 
 /* following functions are local */



More information about the vlc-commits mailing list