[vlc-commits] macosx: fix compilation

David Fuhrmann git at videolan.org
Sat Jun 18 21:48:29 CEST 2016


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sat Jun 18 21:48:21 2016 +0200| [760a2918f77e4e0ef2ccd533a46262b06fa8f5de] | committer: David Fuhrmann

macosx: fix compilation

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

 modules/gui/macosx/VLCVoutWindowController.m |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/VLCVoutWindowController.m b/modules/gui/macosx/VLCVoutWindowController.m
index 8d11bf9..2c6bc9b 100644
--- a/modules/gui/macosx/VLCVoutWindowController.m
+++ b/modules/gui/macosx/VLCVoutWindowController.m
@@ -372,7 +372,7 @@ void WindowClose(vout_window_t *p_wnd)
 
     [o_new_video_window setAlphaValue: config_GetFloat(getIntf(), "macosx-opaqueness")];
 
-    [o_vout_view setVoutThread:(vout_thread_t *)p_wnd->p_parent];
+    [o_vout_view setVoutThread:(vout_thread_t *)p_wnd->obj.parent];
     [o_new_video_window setHasActiveVideo: YES];
     [o_vout_dict setObject:o_new_video_window forKey:[NSValue valueWithPointer:p_wnd]];
 
@@ -399,7 +399,7 @@ void WindowClose(vout_window_t *p_wnd)
 
         // this is not set when we start in fullscreen because of
         // fullscreen settings in video prefs the second time
-        var_SetBool(p_wnd->p_parent, "fullscreen", 1);
+        var_SetBool(p_wnd->obj.parent, "fullscreen", 1);
 
         [self setFullscreen:1 forWindow:p_wnd withAnimation:NO];
     }



More information about the vlc-commits mailing list