[vlc-commits] DirectFB: 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:16:26 2014 +0300| [6a41302d155f9df763906cb69271b5c057d06038] | committer: Rémi Denis-Courmont

DirectFB: remove stub controls

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

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

diff --git a/modules/video_output/directfb.c b/modules/video_output/directfb.c
index 7107435..23dcb65 100644
--- a/modules/video_output/directfb.c
+++ b/modules/video_output/directfb.c
@@ -266,16 +266,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)
 {
-    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  != vd->fmt.i_width ||
-            cfg->display.height != vd->fmt.i_height)
-            return VLC_EGENERIC;
-        return VLC_SUCCESS;
-    }
-    default:
-        msg_Err(vd, "Unsupported query in vout display directfb");
-        return VLC_EGENERIC;
-    }
+    (void) vd; (void) query; (void) args;
+    return VLC_EGENERIC;
 }



More information about the vlc-commits mailing list