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.
This commit is contained in:
Víctor Manuel Jáquez Leal 2016-11-02 15:38:52 +01:00
parent 313860dea4
commit 242e801818

View file

@ -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);