[vlc-commits] caca: ignore unsupported resize controls
Rémi Denis-Courmont
git at videolan.org
Mon Apr 1 19:45:57 CEST 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Apr 1 19:52:15 2019 +0300| [5f7094b8bb9c67481de6f9bb611464aff0f9e7cd] | committer: Rémi Denis-Courmont
caca: ignore unsupported resize controls
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5f7094b8bb9c67481de6f9bb611464aff0f9e7cd
---
modules/video_output/caca.c | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/modules/video_output/caca.c b/modules/video_output/caca.c
index c0edcdec52..617e9faf9e 100644
--- a/modules/video_output/caca.c
+++ b/modules/video_output/caca.c
@@ -177,16 +177,15 @@ static int Control(vout_display_t *vd, int query, va_list args)
(void) args;
switch (query) {
- case VOUT_DISPLAY_CHANGE_DISPLAY_SIZE:
- case VOUT_DISPLAY_CHANGE_ZOOM:
- case VOUT_DISPLAY_CHANGE_DISPLAY_FILLED:
- case VOUT_DISPLAY_CHANGE_SOURCE_ASPECT:
- return VLC_EGENERIC;
-
case VOUT_DISPLAY_CHANGE_SOURCE_CROP:
if (sys->dither)
cucul_free_dither(sys->dither);
sys->dither = NULL;
+ /* fall through */
+ case VOUT_DISPLAY_CHANGE_DISPLAY_SIZE:
+ case VOUT_DISPLAY_CHANGE_ZOOM:
+ case VOUT_DISPLAY_CHANGE_DISPLAY_FILLED:
+ case VOUT_DISPLAY_CHANGE_SOURCE_ASPECT:
return VLC_SUCCESS;
default:
More information about the vlc-commits
mailing list