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

Matthias Keiser matthias at tristan-inc.com
Thu Feb 6 23:20:41 CET 2014


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;
 }
 
 static vout_thread_t *VoutCreate(vlc_object_t *object,
-- 
1.8.3.4 (Apple Git-47)





More information about the vlc-devel mailing list