mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
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:
parent
a299dff9d4
commit
9254045b3e
1 changed files with 1 additions and 0 deletions
|
@ -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],
|
||||||
|
|
Loading…
Reference in a new issue