vaapibufferpool: do not create texture upload meta if dmabuf

https://bugzilla.gnome.org/show_bug.cgi?id=755072
This commit is contained in:
Julien Isorce 2015-09-28 08:49:39 +01:00
parent 6a6ea75016
commit 240fc0f726

View file

@ -199,7 +199,8 @@ gst_vaapi_video_buffer_pool_set_config (GstBufferPool * pool,
gst_buffer_pool_config_set_video_alignment (config, &align); 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); GST_BUFFER_POOL_OPTION_VIDEO_GL_TEXTURE_UPLOAD_META);
return return