mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
libs: display: log out vendor string when available
This is useful while asking for logs to know the used driver.
This commit is contained in:
parent
9bb65e4c10
commit
67c0bf2cdb
1 changed files with 1 additions and 0 deletions
|
@ -767,6 +767,7 @@ ensure_vendor_string (GstVaapiDisplay * display)
|
||||||
vendor_string = vaQueryVendorString (priv->display);
|
vendor_string = vaQueryVendorString (priv->display);
|
||||||
if (vendor_string)
|
if (vendor_string)
|
||||||
priv->vendor_string = g_strdup (vendor_string);
|
priv->vendor_string = g_strdup (vendor_string);
|
||||||
|
GST_INFO_OBJECT (display, "vendor: %s", priv->vendor_string);
|
||||||
}
|
}
|
||||||
GST_VAAPI_DISPLAY_UNLOCK (display);
|
GST_VAAPI_DISPLAY_UNLOCK (display);
|
||||||
return priv->vendor_string != NULL;
|
return priv->vendor_string != NULL;
|
||||||
|
|
Loading…
Reference in a new issue