[vlc-commits] macosx: remove write-only parameter
Rémi Denis-Courmont
git at videolan.org
Mon Dec 31 18:24:01 CET 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Dec 31 17:33:08 2018 +0200| [094f347ee8c020231eab7c474ba9556d85ee384a] | committer: Rémi Denis-Courmont
macosx: remove write-only parameter
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=094f347ee8c020231eab7c474ba9556d85ee384a
---
modules/video_output/macosx.m | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/modules/video_output/macosx.m b/modules/video_output/macosx.m
index 187e6e8bee..b99ae8bfed 100644
--- a/modules/video_output/macosx.m
+++ b/modules/video_output/macosx.m
@@ -114,7 +114,6 @@ struct vout_display_sys_t
picture_t *current;
bool has_first_frame;
- vout_display_place_t place;
vout_display_cfg_t cfg;
};
@@ -377,7 +376,6 @@ static int Control (vout_display_t *vd, int query, va_list ap)
vout_display_place_t place;
vout_display_PlacePicture(&place, &vd->source, &cfg_tmp);
@synchronized (sys->glView) {
- sys->place = place;
sys->cfg = *cfg;
}
@@ -639,9 +637,8 @@ static void OpenglSwap (vlc_gl_t *gl)
sys->cfg.display.width = bounds.size.width;
sys->cfg.display.height = bounds.size.height;
- vout_display_PlacePicture(&sys->place, &vd->source, &sys->cfg);
+ vout_display_PlacePicture(&place, &vd->source, &sys->cfg);
vout_window_ReportSize(sys->embed, bounds.size.width, bounds.size.height);
- place = sys->place;
}
}
More information about the vlc-commits
mailing list