From: Víctor Manuel Jáquez Leal Date: Wed, 2 Nov 2016 14:38:52 +0000 (+0100) Subject: plugins: log the GstVaapiDisplay name X-Git-Tag: 1.19.3~503^2~1223 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=242e8018183c085835778b64f0b75fd33b3fcf19;p=platform%2Fupstream%2Fgstreamer.git 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. --- 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);