mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
mount-points: add some debug
This commit is contained in:
parent
5ce4dd7925
commit
692cbc1364
1 changed files with 4 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue