Commit 6a41302d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

DirectFB: remove stub controls

parent 22798cab
......@@ -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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment