From 242e8018183c085835778b64f0b75fd33b3fcf19 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Wed, 2 Nov 2016 15:38:52 +0100 Subject: [PATCH] plugins: log the GstVaapiDisplay name Now that GstVaapiDisplay is descendant of GstObject, it has a human-friendly name. Log it instead of the memory address. --- gst/vaapi/gstvaapipluginbase.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/vaapi/gstvaapipluginbase.c b/gst/vaapi/gstvaapipluginbase.c index aa3d814..4eb9f6f 100644 --- a/gst/vaapi/gstvaapipluginbase.c +++ b/gst/vaapi/gstvaapipluginbase.c @@ -46,7 +46,7 @@ plugin_set_display (GstVaapiPluginBase * plugin, GstVaapiDisplay * display) display_name, plugin->display_name); gst_vaapi_display_replace (&plugin->display, NULL); } else { - GST_INFO_OBJECT (plugin, "set display %p", display); + GST_INFO_OBJECT (plugin, "set display %" GST_PTR_FORMAT, display); gst_vaapi_display_replace (&plugin->display, display); plugin->display_type = gst_vaapi_display_get_display_type (display); gst_vaapi_plugin_base_set_display_name (plugin, display_name); -- 2.7.4