Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
c849a7c5 by Claudio Cambra at 2024-04-07T07:25:28+00:00
macosx: Fix implicit self warnings

Signed-off-by: Claudio Cambra <develo...@claudiocambra.com>

- - - - -


2 changed files:

- modules/gui/macosx/views/VLCTrackingView.m
- modules/gui/macosx/windows/video/VLCVoutView.m


Changes:

=====================================
modules/gui/macosx/views/VLCTrackingView.m
=====================================
@@ -49,7 +49,7 @@
             weakViewToHide.animator.alphaValue = hideVTH ? 0.0 : 1.0;
             weakViewToShow.animator.alphaValue = hideVTS ? 0.0 : 1.0;
         } completionHandler:^{
-            if (startMouseIn != _mouseIn) {
+            if (startMouseIn != self->_mouseIn) {
                 return;
             }
             weakViewToHide.hidden = hideVTH;


=====================================
modules/gui/macosx/windows/video/VLCVoutView.m
=====================================
@@ -110,9 +110,10 @@
     // dispatch the event async to prevent potential deadlock 
     // with video output's RenderPicture's display lock
     dispatch_async(_eventQueue, ^{
-        if (_wnd == NULL)
+        if (self->_wnd == NULL) {
             return;
-        vlc_window_ReportSize(_wnd, bounds.size.width, bounds.size.height);
+        }
+        vlc_window_ReportSize(self->_wnd, bounds.size.width, 
bounds.size.height);
     });
     [super layout];
 }



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/c849a7c55f28e78d703db95485e9334936b674e6

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/c849a7c55f28e78d703db95485e9334936b674e6
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to