[vlc-devel] [PATCH] kva: support ZOOM
Rémi Denis-Courmont
remi at remlab.net
Sun Apr 6 14:22:12 CEST 2014
Le dimanche 6 avril 2014, 12:02:07 KO Myung-Hun a écrit :
> ---
> 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..3bc58c6 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 = va_arg(args, int) ||
> + query == VOUT_DISPLAY_CHANGE_ZOOM;
There is no second variable argument for this control.
>
> 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;
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list