[vlc-commits] DirectFB: reorient video

Rémi Denis-Courmont git at videolan.org
Fri Mar 14 17:39:32 CET 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Mar 14 18:34:41 2014 +0200| [1c2f6a4970d405db001851da8ccf6edf3df0ac55] | committer: Rémi Denis-Courmont

DirectFB: reorient video

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1c2f6a4970d405db001851da8ccf6edf3df0ac55
---

 modules/video_output/directfb.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/video_output/directfb.c b/modules/video_output/directfb.c
index fba81cd..1d70b53 100644
--- a/modules/video_output/directfb.c
+++ b/modules/video_output/directfb.c
@@ -112,7 +112,8 @@ static int Open(vlc_object_t *object)
     vout_display_DeleteWindow(vd, NULL);
 
     /* */
-    video_format_t fmt = vd->fmt;
+    video_format_t fmt;
+    video_format_ApplyRotation(&fmt, &vd->fmt);
 
     switch (sys->pixel_format) {
     case DSPF_RGB332:



More information about the vlc-commits mailing list