mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
egl: Remove buffer pool option
This should be done differently via the allocators in the allocation query.
This commit is contained in:
parent
a47f52bb96
commit
4ca26a3c45
2 changed files with 0 additions and 30 deletions
|
@ -312,25 +312,3 @@ gst_egl_display_get (GstEGLDisplay * display)
|
||||||
return display->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
|
|
||||||
|
|
|
@ -62,12 +62,4 @@ GstEGLDisplay * gst_egl_display_ref (GstEGLDisplay * display);
|
||||||
void gst_egl_display_unref (GstEGLDisplay * display);
|
void gst_egl_display_unref (GstEGLDisplay * display);
|
||||||
EGLDisplay gst_egl_display_get (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__ */
|
#endif /* __GST_EGL_H__ */
|
||||||
|
|
Loading…
Reference in a new issue