egl: Remove buffer pool option

This should be done differently via the allocators in the allocation query.
This commit is contained in:
Sebastian Dröge 2013-02-25 13:25:58 +01:00
parent a47f52bb96
commit 4ca26a3c45
2 changed files with 0 additions and 30 deletions

View 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

View 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__ */