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

Rémi Denis-Courmont remi at remlab.net
Fri Feb 7 20:09:39 CET 2014


Le jeudi 6 février 2014, 23:20:41 Matthias Keiser a écrit :
> From e29efdfde92c8cfd3ed7419788bc4d68946951bc Mon Sep 17 00:00:00 2001
> From: Matthias Keiser <matthias at tristan-inc.com>
> Date: Thu, 6 Feb 2014 16:20:58 +0100
> Subject: [PATCH 09/13] VideoFormatIsCropArEqual: check orientation.
> 
> ---
>  src/video_output/video_output.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/src/video_output/video_output.c
> b/src/video_output/video_output.c index 64bef99..ede3520 100644
> --- a/src/video_output/video_output.c
> +++ b/src/video_output/video_output.c
> @@ -106,7 +106,8 @@ static bool VideoFormatIsCropArEqual(video_format_t
> *dst, dst->i_x_offset       == src->i_x_offset &&
>             dst->i_y_offset       == src->i_y_offset &&
>             dst->i_visible_width  == src->i_visible_width &&
> -           dst->i_visible_height == src->i_visible_height;
> +           dst->i_visible_height == src->i_visible_height &&
> +           dst->orientation      == src->orientation;

That does not make sense to me.

>  }
> 
>  static vout_thread_t *VoutCreate(vlc_object_t *object,

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list