[vlc-commits] flashen: ignore unsupported/unapplicable resize controls

Rémi Denis-Courmont git at videolan.org
Mon Apr 1 19:46:06 CEST 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Apr  1 19:53:46 2019 +0300| [63d37fda16d6de0c169e1de4cf18f828df6ef4ed] | committer: Rémi Denis-Courmont

flashen: ignore unsupported/unapplicable resize controls

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

 modules/video_output/flaschen.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/video_output/flaschen.c b/modules/video_output/flaschen.c
index 9223319afd..15d6dd48b9 100644
--- a/modules/video_output/flaschen.c
+++ b/modules/video_output/flaschen.c
@@ -218,7 +218,8 @@ static int Control(vout_display_t *vd, int query, va_list args)
     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:
+        return VLC_SUCCESS;
 
     default:
         msg_Err(vd, "Unsupported query in vout display flaschen");



More information about the vlc-commits mailing list