[vlc-commits] Linux FB: 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:37:52 2014 +0200| [853bfdb6ee20bf67dc5cbc5b94388281f12a67e6] | committer: Rémi Denis-Courmont
Linux FB: reorient video
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=853bfdb6ee20bf67dc5cbc5b94388281f12a67e6
---
modules/video_output/fb.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/video_output/fb.c b/modules/video_output/fb.c
index 06555f4..1251b85 100644
--- a/modules/video_output/fb.c
+++ b/modules/video_output/fb.c
@@ -257,7 +257,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);
if (sys->chroma) {
fmt.i_chroma = sys->chroma;
More information about the vlc-commits
mailing list