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:
Víctor Manuel Jáquez Leal 2020-01-29 11:51:47 +01:00
parent 9bb65e4c10
commit 67c0bf2cdb

View file

@ -767,6 +767,7 @@ ensure_vendor_string (GstVaapiDisplay * display)
vendor_string = vaQueryVendorString (priv->display);
if (vendor_string)
priv->vendor_string = g_strdup (vendor_string);
GST_INFO_OBJECT (display, "vendor: %s", priv->vendor_string);
}
GST_VAAPI_DISPLAY_UNLOCK (display);
return priv->vendor_string != NULL;