From 4ca26a3c45e849eb493e23584e97927ea4aeb045 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 25 Feb 2013 13:25:58 +0100 Subject: [PATCH] egl: Remove buffer pool option This should be done differently via the allocators in the allocation query. --- gst-libs/gst/egl/egl.c | 22 ---------------------- gst-libs/gst/egl/egl.h | 8 -------- 2 files changed, 30 deletions(-) diff --git a/gst-libs/gst/egl/egl.c b/gst-libs/gst/egl/egl.c index f6f13b9..85fd600 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 a174950..771a6f2 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__ */ -- 2.7.4