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

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


OK.

On 06 Feb, Matthias Keiser wrote :
> >From 0d66fd5d7a4c57f70bf6968b03fa313f3be1fcad Mon Sep 17 00:00:00 2001
> From: Matthias Keiser <matthias at tristan-inc.com>
> Date: Thu, 6 Feb 2014 16:17:34 +0100
> Subject: [PATCH 08/13] video_format_IsSimilar: check orientation.
> 
> ---
>  src/misc/es_format.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/src/misc/es_format.c b/src/misc/es_format.c
> index 566203f..88447c0 100644
> --- a/src/misc/es_format.c
> +++ b/src/misc/es_format.c
> @@ -279,6 +279,9 @@ bool video_format_IsSimilar( const video_format_t *p_fmt1, const video_format_t
>      if( v1.i_sar_num * v2.i_sar_den != v2.i_sar_num * v1.i_sar_den )
>          return false;
>  
> +    if( v1.orientation != v2.orientation)
> +        return false;
> +
>      if( v1.i_chroma == VLC_CODEC_RGB15 ||
>          v1.i_chroma == VLC_CODEC_RGB16 ||
>          v1.i_chroma == VLC_CODEC_RGB24 ||
> -- 
> 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