[vlc-devel] [PATCH] macosx vout: update display after crop / ar even if "macosx-video-autoresize" is false

David Fuhrmann david.fuhrmann at googlemail.com
Wed Feb 15 17:32:58 CET 2012


Am 14.02.2012 um 08:28 schrieb David Fuhrmann:

> ---
> modules/video_output/macosx.m |    5 +++--
> 1 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/modules/video_output/macosx.m b/modules/video_output/macosx.m
> index 0c9072f..97670d9 100644
> --- a/modules/video_output/macosx.m
> +++ b/modules/video_output/macosx.m
> @@ -337,11 +337,12 @@ static int Control (vout_display_t *vd, int query, va_list ap)
>             return VLC_SUCCESS;
>         case VOUT_DISPLAY_CHANGE_DISPLAY_SIZE:
>         {
> +            // is needed in the case we do not an actual resize
> +            [sys->glView performSelectorOnMainThread:@selector(reshapeView:) withObject:nil waitUntilDone:NO];
> +
>             if (!config_GetInt( vd, "macosx-video-autoresize" ))
>                 return VLC_SUCCESS;
> 
> -            [sys->glView performSelectorOnMainThread:@selector(reshapeView:) withObject:nil waitUntilDone:NO];
> -
>             NSAutoreleasePool * o_pool = [[NSAutoreleasePool alloc] init];
>             NSPoint topleftbase;
>             NSPoint topleftscreen;
> -- 
> 1.7.5.4

Hi,

Could this be merged for VLC 2.0.0, too? That would be great. ;-)

Best regards,
David


More information about the vlc-devel mailing list