mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
plugins: more specific log message
Be more specific in the log message about the reason of creating a new pool.
This commit is contained in:
parent
b8268b1f3e
commit
100d5971b5
1 changed files with 2 additions and 2 deletions
|
@ -688,8 +688,8 @@ gst_vaapi_plugin_base_decide_allocation (GstVaapiPluginBase * plugin,
|
|||
/* GstVaapiVideoMeta is mandatory, and this implies VA surface memory */
|
||||
if (!pool || !gst_buffer_pool_has_option (pool,
|
||||
GST_BUFFER_POOL_OPTION_VAAPI_VIDEO_META)) {
|
||||
GST_INFO_OBJECT (plugin, "no pool or doesn't support GstVaapiVideoMeta, "
|
||||
"making new pool");
|
||||
GST_INFO_OBJECT (plugin, "%s. Making a new pool", pool == NULL ? "No pool" :
|
||||
"Pool hasn't GstVaapiVideoMeta");
|
||||
if (pool)
|
||||
gst_object_unref (pool);
|
||||
pool = gst_vaapi_video_buffer_pool_new (plugin->display);
|
||||
|
|
Loading…
Reference in a new issue