summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2013-02-25 13:25:58 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-03-03 12:31:05 +0100
commit4ca26a3c45e849eb493e23584e97927ea4aeb045 (patch)
treea551affd6ffea51825dea96a71b695c4713f9435 /gst-libs
parenta47f52bb962299244537bb0ca8b7c09ecf829785 (diff)
downloadgstreamer-plugins-bad-4ca26a3c45e849eb493e23584e97927ea4aeb045.tar.gz
egl: Remove buffer pool option
This should be done differently via the allocators in the allocation query.
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/egl/egl.c22
-rw-r--r--gst-libs/gst/egl/egl.h8
2 files changed, 0 insertions, 30 deletions
diff --git a/gst-libs/gst/egl/egl.c b/gst-libs/gst/egl/egl.c
index f6f13b9ce..85fd600e6 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 a174950ae..771a6f2fd 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__ */