mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 10:41:04 +00:00
vaapibufferpool: do not create texture upload meta if dmabuf
https://bugzilla.gnome.org/show_bug.cgi?id=755072
This commit is contained in:
parent
6a6ea75016
commit
240fc0f726
1 changed files with 2 additions and 1 deletions
|
@ -199,7 +199,8 @@ gst_vaapi_video_buffer_pool_set_config (GstBufferPool * pool,
|
|||
gst_buffer_pool_config_set_video_alignment (config, &align);
|
||||
}
|
||||
|
||||
priv->has_texture_upload_meta = gst_buffer_pool_config_has_option (config,
|
||||
priv->has_texture_upload_meta = !priv->use_dmabuf_memory
|
||||
&& gst_buffer_pool_config_has_option (config,
|
||||
GST_BUFFER_POOL_OPTION_VIDEO_GL_TEXTURE_UPLOAD_META);
|
||||
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue