player: fix suburi getter debug message

The property is a string, not a boolean.

https://bugzilla.gnome.org/show_bug.cgi?id=766607
This commit is contained in:
Guillaume Desmottes 2016-05-23 15:24:53 +03:00 committed by Sebastian Dröge
parent 3af9fd7322
commit 586509d486

View file

@ -670,8 +670,8 @@ gst_player_get_property (GObject * object, guint prop_id,
g_mutex_lock (&self->lock); g_mutex_lock (&self->lock);
g_value_set_string (value, self->suburi); g_value_set_string (value, self->suburi);
g_mutex_unlock (&self->lock); g_mutex_unlock (&self->lock);
GST_DEBUG_OBJECT (self, "Returning has-suburi=%d", GST_DEBUG_OBJECT (self, "Returning suburi=%s",
g_value_get_boolean (value)); g_value_get_string (value));
break; break;
case PROP_POSITION:{ case PROP_POSITION:{
gint64 position = 0; gint64 position = 0;