[vlc-devel] [PATCH 1/2] ios: remove variable ios-eaglcontext
Alexandre Janniaux
ajanni at videolabs.io
Tue Jan 26 14:04:56 UTC 2021
Unused since cb6b1d5fb6c28893479f737a94da2bc753cbe8b9.
---
modules/video_output/ios.m | 7 -------
1 file changed, 7 deletions(-)
diff --git a/modules/video_output/ios.m b/modules/video_output/ios.m
index aa43020eed..443c23d417 100644
--- a/modules/video_output/ios.m
+++ b/modules/video_output/ios.m
@@ -169,8 +169,6 @@ static int Open(vout_display_t *vd, const vout_display_cfg_t *cfg,
vd->sys = sys;
sys->gl = NULL;
- var_Create(vlc_object_parent(vd), "ios-eaglcontext", VLC_VAR_ADDRESS);
-
@autoreleasepool {
/* setup the actual OpenGL ES view */
@@ -181,7 +179,6 @@ static int Open(vout_display_t *vd, const vout_display_cfg_t *cfg,
waitUntilDone:YES];
if (!sys->glESView) {
msg_Err(vd, "Creating OpenGL ES 2 view failed");
- var_Destroy(vlc_object_parent(vd), "ios-eaglcontext");
return VLC_EGENERIC;
}
@@ -255,7 +252,6 @@ static void Close(vout_display_t *vd)
[sys->glESView cleanAndRelease:flushed];
}
- var_Destroy(vlc_object_parent(vd), "ios-eaglcontext");
}
/*****************************************************************************
@@ -396,9 +392,6 @@ static void GLESSwap(vlc_gl_t *gl)
}
[self releaseCurrent:previousEaglContext];
- /* Set "ios-eaglcontext" to be used by cvpx fitlers/glconv */
- var_SetAddress(vlc_object_parent(_voutDisplay), "ios-eaglcontext", _eaglContext);
-
_layer = (CAEAGLLayer *)self.layer;
_layer.drawableProperties = [NSDictionary dictionaryWithObject:kEAGLColorFormatRGBA8 forKey: kEAGLDrawablePropertyColorFormat];
_layer.opaque = YES;
--
2.30.0
More information about the vlc-devel
mailing list