[farsight2/master] Add function to stop special sources

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:21:35 PST 2008


---
 gst/fsrtpconference/fs-rtp-special-source.c |    9 +++++++++
 gst/fsrtpconference/fs-rtp-special-source.h |    3 +++
 2 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/gst/fsrtpconference/fs-rtp-special-source.c b/gst/fsrtpconference/fs-rtp-special-source.c
index 730d1f6..c223854 100644
--- a/gst/fsrtpconference/fs-rtp-special-source.c
+++ b/gst/fsrtpconference/fs-rtp-special-source.c
@@ -317,3 +317,12 @@ fs_rtp_special_sources_stop_telephony_event (GList *current_extra_sources,
 
   return FALSE;
 }
+
+GList *
+fs_rtp_special_sources_destroy (GList *current_extra_sources)
+{
+  g_list_foreach (current_extra_sources, (GFunc) g_object_unref, NULL);
+  g_list_free (current_extra_sources);
+
+  return NULL;
+}
diff --git a/gst/fsrtpconference/fs-rtp-special-source.h b/gst/fsrtpconference/fs-rtp-special-source.h
index 27d9f45..5e895a1 100644
--- a/gst/fsrtpconference/fs-rtp-special-source.h
+++ b/gst/fsrtpconference/fs-rtp-special-source.h
@@ -110,6 +110,9 @@ fs_rtp_special_sources_update (
     GError **error);
 
 GList *
+fs_rtp_special_sources_destroy (GList *current_extra_sources);
+
+GList *
 fs_rtp_special_sources_add_blueprints (GList *blueprints);
 
 gboolean
-- 
1.5.6.5




More information about the farsight-commits mailing list