[vlc-commits] macosx/vout: comment use of vout_window_ReportSize as it leads to fatal mutex locking errors in the core
Felix Paul Kühne
git at videolan.org
Tue Jul 2 16:30:06 CEST 2019
vlc | branch: master | Felix Paul Kühne <felix at feepk.net> | Tue Jul 2 16:29:13 2019 +0200| [adc359f6c9be9b5f232adadd8f7f4f1167c8e79a] | committer: Felix Paul Kühne
macosx/vout: comment use of vout_window_ReportSize as it leads to fatal mutex locking errors in the core
Commenting the function allows us to use the vout until the core is correctly fixed. This commit must be reverted before release.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=adc359f6c9be9b5f232adadd8f7f4f1167c8e79a
---
modules/video_output/macosx.m | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/modules/video_output/macosx.m b/modules/video_output/macosx.m
index 12043a9141..de85879341 100644
--- a/modules/video_output/macosx.m
+++ b/modules/video_output/macosx.m
@@ -246,7 +246,8 @@ static int Open (vout_display_t *vd, const vout_display_cfg_t *cfg,
vd->control = Control;
/* */
- vout_window_ReportSize(sys->embed, fmt->i_visible_width, fmt->i_visible_height);
+ // FIXME: this call leads to a fatal mutex locking error in vout_ChangeDisplaySize()
+ // vout_window_ReportSize(sys->embed, fmt->i_visible_width, fmt->i_visible_height);
return VLC_SUCCESS;
@@ -644,7 +645,8 @@ static void OpenglSwap (vlc_gl_t *gl)
sys->cfg.display.height = bounds.size.height;
vout_display_PlacePicture(&place, &vd->source, &sys->cfg);
- vout_window_ReportSize(sys->embed, bounds.size.width, bounds.size.height);
+ // FIXME: this call leads to a fatal mutex locking error in vout_ChangeDisplaySize()
+ // vout_window_ReportSize(sys->embed, bounds.size.width, bounds.size.height);
}
}
More information about the vlc-commits
mailing list