summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2020-01-29 11:51:47 +0100
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2020-01-29 18:27:50 +0100
commit67c0bf2cdbe6b61bf7b2de27a2e2eb696dd28e15 (patch)
tree107d17850f3aa73624f739a13b30d3b7a3fc580b
parent9bb65e4c1030f31b7c21b16f1d7eddbfd6eaade9 (diff)
libs: display: log out vendor string when available
This is useful while asking for logs to know the used driver.
-rw-r--r--gst-libs/gst/vaapi/gstvaapidisplay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapidisplay.c b/gst-libs/gst/vaapi/gstvaapidisplay.c
index e4014ad6..593694d9 100644
--- a/gst-libs/gst/vaapi/gstvaapidisplay.c
+++ b/gst-libs/gst/vaapi/gstvaapidisplay.c
@@ -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;