[vlc-commits] [Git][videolan/vlc][master] macosx: Fix implicit self warnings

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Sun Apr 7 07:46:33 UTC 2024



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 <developer at 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


More information about the vlc-commits mailing list