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

Linux FB: remove stub controls

parent 6a41302d
......@@ -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)
(void) vd; (void) query; (void) args;
return VLC_EGENERIC;
return VLC_SUCCESS;
}
default:
msg_Err(vd, "Unsupported query in vout display fb");
return VLC_EGENERIC;
}
}
/* following functions are local */
......
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