From 5fe0337b08b3af7c2f086f312f06362022639757 Mon Sep 17 00:00:00 2001
From: KO Myung-Hun <komh@chollian.net>
Date: Sun, 6 Apr 2014 12:00:06 +0900
Subject: [PATCH] kva: support ZOOM

---
 modules/video_output/kva.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/video_output/kva.c b/modules/video_output/kva.c
index 801ef7d..f03d020 100644
--- a/modules/video_output/kva.c
+++ b/modules/video_output/kva.c
@@ -495,9 +495,11 @@ static int Control( vout_display_t *vd, int query, va_list args )
     }
 
     case VOUT_DISPLAY_CHANGE_DISPLAY_SIZE:
+    case VOUT_DISPLAY_CHANGE_ZOOM:
     {
         const vout_display_cfg_t *cfg = va_arg(args, const vout_display_cfg_t *);
-        bool  is_forced = va_arg(args, int);
+        bool  is_forced = query == VOUT_DISPLAY_CHANGE_ZOOM ||
+                          va_arg(args, int);
 
         if( is_forced )
         {
@@ -548,7 +550,6 @@ static int Control( vout_display_t *vd, int query, va_list args )
 
     case VOUT_DISPLAY_RESET_PICTURES:
     case VOUT_DISPLAY_CHANGE_DISPLAY_FILLED:
-    case VOUT_DISPLAY_CHANGE_ZOOM:
     case VOUT_DISPLAY_GET_OPENGL:
         /* TODO */
         break;
-- 
1.7.3.2

