[vlc-commits] mmal: report events via the dummy window

Rémi Denis-Courmont git at videolan.org
Sun May 20 19:52:07 CEST 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri May 18 20:56:47 2018 +0300| [26255c28e6955228813d3fed138e48c446d19b2a] | committer: Rémi Denis-Courmont

mmal: report events via the dummy window

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

 modules/hw/mmal/vout.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/hw/mmal/vout.c b/modules/hw/mmal/vout.c
index be884b9aa2..2765b7e9f1 100644
--- a/modules/hw/mmal/vout.c
+++ b/modules/hw/mmal/vout.c
@@ -305,7 +305,8 @@ static int Open(vlc_object_t *object)
     vc_tv_register_callback(tvservice_cb, vd);
 
     if (query_resolution(vd, &sys->display_width, &sys->display_height) >= 0) {
-        vout_display_SendEventDisplaySize(vd, sys->display_width, sys->display_height);
+        vout_window_ReportSize(vd->cfg->window,
+                               sys->display_width, sys->display_height);
     } else {
         sys->display_width = vd->cfg->display.width;
         sys->display_height = vd->cfg->display.height;
@@ -666,7 +667,7 @@ static void vd_manage(vout_display_t *vd)
         if (query_resolution(vd, &width, &height) >= 0) {
             sys->display_width = width;
             sys->display_height = height;
-            vout_display_SendEventDisplaySize(vd, width, height);
+            vout_window_ReportSize(vd->cfg->window, width, height);
         }
 
         sys->need_configure_display = false;



More information about the vlc-commits mailing list