va: allocator: add a todo for dmabuf_memories_setup()

It would be nice to add a surface pool for this type of surface allocation in
order to have a better control of them.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1667>
This commit is contained in:
Víctor Manuel Jáquez Leal 2020-10-07 11:08:49 +02:00
parent a299dff9d4
commit 9254045b3e

View file

@ -690,6 +690,7 @@ gst_va_dmabuf_try (GstAllocator * allocator, GstVaAllocationParams * params)
return ret; return ret;
} }
/* XXX: use a surface pool to control the created surfaces */
gboolean gboolean
gst_va_dmabuf_memories_setup (GstVaDisplay * display, GstVideoInfo * info, gst_va_dmabuf_memories_setup (GstVaDisplay * display, GstVideoInfo * info,
guint n_planes, GstMemory * mem[GST_VIDEO_MAX_PLANES], guint n_planes, GstMemory * mem[GST_VIDEO_MAX_PLANES],