[vlc-commits] kva: support ZOOM
KO Myung-Hun
git at videolan.org
Sun Apr 13 20:17:23 CEST 2014
vlc/vlc-2.1 | branch: master | KO Myung-Hun <komh78 at gmail.com> | Sun Apr 6 11:53:26 2014 +0000| [1b60375cc8eb78eae0a29f5da782b647834356f6] | committer: Jean-Baptiste Kempf
kva: support ZOOM
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit 2eada01e3db17b930bc27c57c4aa8987e4400a4e)
Signed-off-by: KO Myung-Hun <komh at chollian.net>
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=1b60375cc8eb78eae0a29f5da782b647834356f6
---
modules/video_output/kva.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules/video_output/kva.c b/modules/video_output/kva.c
index eaca5e3..20e7e8f 100644
--- a/modules/video_output/kva.c
+++ b/modules/video_output/kva.c
@@ -479,9 +479,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 )
{
@@ -527,7 +529,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;
More information about the vlc-commits
mailing list