diff --git a/gst-libs/gst/egl/egl.c b/gst-libs/gst/egl/egl.c index f6f13b9ceb..85fd600e6f 100644 --- a/gst-libs/gst/egl/egl.c +++ b/gst-libs/gst/egl/egl.c @@ -312,25 +312,3 @@ gst_egl_display_get (GstEGLDisplay * display) return display->display; } -#if 0 -void -gst_buffer_pool_config_set_egl_image_supports_multiple_images (GstStructure * - config, gboolean supported) -{ - g_return_if_fail (config != NULL); - - gst_structure_set (config, - "egl-image-supports-multiple-images", G_TYPE_BOOLEAN, supported, NULL); -} - -gboolean -gst_buffer_pool_config_get_egl_image_supports_multiple_images (GstStructure * - config, gboolean * supported) -{ - g_return_val_if_fail (config != NULL, FALSE); - g_return_val_if_fail (supported != NULL, FALSE); - - return gst_structure_get (config, - "egl-image-supports-multiple-images", G_TYPE_BOOLEAN, supported, NULL); -} -#endif diff --git a/gst-libs/gst/egl/egl.h b/gst-libs/gst/egl/egl.h index a174950ae7..771a6f2fda 100644 --- a/gst-libs/gst/egl/egl.h +++ b/gst-libs/gst/egl/egl.h @@ -62,12 +62,4 @@ GstEGLDisplay * gst_egl_display_ref (GstEGLDisplay * display); void gst_egl_display_unref (GstEGLDisplay * display); EGLDisplay gst_egl_display_get (GstEGLDisplay * display); -#define GST_BUFFER_POOL_OPTION_EGL_IMAGE "GstBufferPoolOptionEGLImage" - -#if 0 -/* setting a bufferpool config */ -void gst_buffer_pool_config_set_egl_image_supports_multiple_images (GstStructure *config, gboolean supported); -gboolean gst_buffer_pool_config_get_egl_image_supports_multiple_images (GstStructure *config, gboolean *supported); -#endif - #endif /* __GST_EGL_H__ */