[vlc-devel] [PATCH 5/5] Make xcb_x11 vout module handle rotated movies.

Matthias Keiser matthias at tristan-inc.com
Fri Mar 14 01:00:11 CET 2014


---
 modules/video_output/xcb/x11.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/video_output/xcb/x11.c b/modules/video_output/xcb/x11.c
index 7bdb944..afdc1fc 100644
--- a/modules/video_output/xcb/x11.c
+++ b/modules/video_output/xcb/x11.c
@@ -112,6 +112,9 @@ static int Open (vlc_object_t *obj)
     vd->sys = sys;
     sys->pool = NULL;
 
+    video_format_t fmt_rot = vd->fmt;
+    video_format_ApplyRotation(&fmt_rot, &vd->fmt);
+
     /* Get window, connect to X server */
     xcb_connection_t *conn;
     const xcb_screen_t *scr;
-- 
1.8.3.4 (Apple Git-47)




More information about the vlc-devel mailing list