mount-points: add some debug

This commit is contained in:
Wim Taymans 2013-07-15 11:51:34 +02:00
parent 5ce4dd7925
commit 692cbc1364

View file

@ -284,6 +284,8 @@ gst_rtsp_mount_points_add_factory (GstRTSPMountPoints * mounts,
item = data_item_new (g_strdup (path), strlen (path), factory);
GST_INFO ("adding media factory %p for path %s", factory, path);
g_mutex_lock (&priv->lock);
g_sequence_append (priv->mounts, item);
priv->dirty = TRUE;
@ -312,6 +314,8 @@ gst_rtsp_mount_points_remove_factory (GstRTSPMountPoints * mounts,
item.path = (gchar *) path;
GST_INFO ("removing media factory for path %s", path);
g_mutex_lock (&priv->lock);
iter = g_sequence_lookup (priv->mounts, &item, data_item_compare, mounts);
if (iter) {