[vlc-commits] fb vout: set i_visible_*

Rafaël Carré git at videolan.org
Fri Dec 27 17:30:03 CET 2013


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Fri Dec 27 17:29:51 2013 +0100| [983198b0fc68d2e2bcfe98b6fe331964b1bc9f9e] | committer: Rafaël Carré

fb vout: set i_visible_*

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

 modules/video_output/fb.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/video_output/fb.c b/modules/video_output/fb.c
index d09f1c4..e9b44e6 100644
--- a/modules/video_output/fb.c
+++ b/modules/video_output/fb.c
@@ -296,8 +296,8 @@ static int Open(vlc_object_t *object)
         }
     }
 
-    fmt.i_width  = sys->width;
-    fmt.i_height = sys->height;
+    fmt.i_visible_width  = sys->width;
+    fmt.i_visible_height = sys->height;
 
     /* */
     vout_display_info_t info = vd->info;
@@ -314,7 +314,7 @@ static int Open(vlc_object_t *object)
 
     /* */
     vout_display_SendEventFullscreen(vd, true);
-    vout_display_SendEventDisplaySize(vd, fmt.i_width, fmt.i_height, true);
+    vout_display_SendEventDisplaySize(vd, fmt.i_visible_width, fmt.i_visible_height, true);
     return VLC_SUCCESS;
 }
 



More information about the vlc-commits mailing list