[vlc-commits] vmem: 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:22 2014 +0300| [9c9f912bd3574865eb831116cf43ecccd188db41] | committer: Rémi Denis-Courmont
vmem: remove stub controls
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9c9f912bd3574865eb831116cf43ecccd188db41
---
modules/video_output/vmem.c | 16 ++--------------
1 file changed, 2 insertions(+), 14 deletions(-)
diff --git a/modules/video_output/vmem.c b/modules/video_output/vmem.c
index 827eab7..089631a 100644
--- a/modules/video_output/vmem.c
+++ b/modules/video_output/vmem.c
@@ -313,20 +313,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)
{
- switch (query) {
- case VOUT_DISPLAY_CHANGE_FULLSCREEN:
- 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;
- 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