[vlc-devel] [PATCH] Support for rotated MP4 Movies (bug #2882)

Jean-Baptiste Kempf jb at videolan.org
Fri Feb 7 15:06:37 CET 2014


Patch OK.

On 06 Feb, Matthias Keiser wrote :
> >From 470b6de5f174acc4428a02a0805beec20657ecf0 Mon Sep 17 00:00:00 2001
> From: Matthias Keiser <matthias at tristan-inc.com>
> Date: Thu, 6 Feb 2014 16:08:49 +0100
> Subject: [PATCH 06/13] vout_new_buffer: check video orientation.
> 
> ---
>  src/input/decoder.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/src/input/decoder.c b/src/input/decoder.c
> index d7caf2d..8f8a98a 100644
> --- a/src/input/decoder.c
> +++ b/src/input/decoder.c
> @@ -2017,7 +2017,8 @@ static picture_t *vout_new_buffer( decoder_t *p_dec )
>          p_dec->fmt_out.video.i_y_offset != p_owner->video.i_y_offset  ||
>          p_dec->fmt_out.i_codec != p_owner->video.i_chroma ||
>          (int64_t)p_dec->fmt_out.video.i_sar_num * p_owner->video.i_sar_den !=
> -        (int64_t)p_dec->fmt_out.video.i_sar_den * p_owner->video.i_sar_num )
> +        (int64_t)p_dec->fmt_out.video.i_sar_den * p_owner->video.i_sar_num ||
> +        p_dec->fmt_out.video.orientation != p_owner->video.orientation )
>      {
>          vout_thread_t *p_vout;
>  
> -- 
> 1.8.3.4 (Apple Git-47)
> 
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

-- 
With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list