mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 14:18:34 +00:00
vaapivideobufferpool: add explanation for allocator reconfig
This commit is contained in:
parent
377dd0cc6c
commit
5eca31b5e8
1 changed files with 2 additions and 0 deletions
|
@ -194,6 +194,8 @@ gst_vaapi_video_buffer_pool_set_config (GstBufferPool * pool,
|
|||
&& gst_video_info_changed (allocator_vinfo, &new_allocation_vinfo)) {
|
||||
gst_object_replace ((GstObject **) & priv->allocator, NULL);
|
||||
|
||||
/* dmabuf allocator can change its parameters: no need to create a
|
||||
* new one */
|
||||
if (allocator && priv->use_dmabuf_memory) {
|
||||
gst_allocator_set_vaapi_video_info (allocator, &new_allocation_vinfo,
|
||||
surface_alloc_flags);
|
||||
|
|
Loading…
Reference in a new issue