Commit 2eada01e authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Jean-Baptiste Kempf

kva: support ZOOM

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 37e886d1
...@@ -479,9 +479,11 @@ static int Control( vout_display_t *vd, int query, va_list args ) ...@@ -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_DISPLAY_SIZE:
case VOUT_DISPLAY_CHANGE_ZOOM:
{ {
const vout_display_cfg_t *cfg = va_arg(args, const vout_display_cfg_t *); 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 ) if( is_forced )
{ {
...@@ -532,7 +534,6 @@ static int Control( vout_display_t *vd, int query, va_list args ) ...@@ -532,7 +534,6 @@ static int Control( vout_display_t *vd, int query, va_list args )
case VOUT_DISPLAY_RESET_PICTURES: case VOUT_DISPLAY_RESET_PICTURES:
case VOUT_DISPLAY_CHANGE_DISPLAY_FILLED: case VOUT_DISPLAY_CHANGE_DISPLAY_FILLED:
case VOUT_DISPLAY_CHANGE_ZOOM:
case VOUT_DISPLAY_GET_OPENGL: case VOUT_DISPLAY_GET_OPENGL:
/* TODO */ /* TODO */
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment