egl: Remove buffer pool option
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 25 Feb 2013 12:25:58 +0000 (13:25 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 3 Mar 2013 11:31:05 +0000 (12:31 +0100)
This should be done differently via the allocators in the allocation query.

gst-libs/gst/egl/egl.c
gst-libs/gst/egl/egl.h

index f6f13b9..85fd600 100644 (file)
@@ -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
index a174950..771a6f2 100644 (file)
@@ -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__ */