[farsight2/master] Need the bin and the muxer to add the source
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:21:26 PST 2008
---
gst/fsrtpconference/fs-rtp-special-source.c | 12 ++++++++++--
gst/fsrtpconference/fs-rtp-special-source.h | 2 ++
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-special-source.c b/gst/fsrtpconference/fs-rtp-special-source.c
index d1d94d4..be96274 100644
--- a/gst/fsrtpconference/fs-rtp-special-source.c
+++ b/gst/fsrtpconference/fs-rtp-special-source.c
@@ -62,6 +62,8 @@ static void fs_rtp_special_source_dispose (GObject *object);
static FsRtpSpecialSource *
fs_rtp_special_source_new (FsRtpSpecialSourceClass *klass,
GList *negotiated_sources,
+ GstElement *bin,
+ GstElement *rtpmuxer,
GError **error);
static gboolean
fs_rtp_special_source_update (FsRtpSpecialSource *source,
@@ -156,6 +158,8 @@ GList *
fs_rtp_special_sources_update (
GList *current_extra_sources,
GList *negotiated_codecs,
+ GstElement *bin,
+ GstElement *rtpmuxer,
GError **error)
{
GList *klass_item = NULL;
@@ -186,7 +190,8 @@ fs_rtp_special_sources_update (
{
current_extra_sources = g_list_remove (current_extra_sources, obj);
g_object_unref (obj);
- obj = fs_rtp_special_source_new (klass, negotiated_codecs, error);
+ obj = fs_rtp_special_source_new (klass, negotiated_codecs, bin,
+ rtpmuxer, error);
if (!obj)
goto error;
current_extra_sources = g_list_prepend (current_extra_sources, obj);
@@ -202,7 +207,8 @@ fs_rtp_special_sources_update (
{
if (fs_rtp_special_source_class_want_source (klass, negotiated_codecs))
{
- obj = fs_rtp_special_source_new (klass, negotiated_codecs, error);
+ obj = fs_rtp_special_source_new (klass, negotiated_codecs, bin,
+ rtpmuxer, error);
if (!obj)
goto error;
current_extra_sources = g_list_prepend (current_extra_sources, obj);
@@ -219,6 +225,8 @@ fs_rtp_special_sources_update (
static FsRtpSpecialSource *
fs_rtp_special_source_new (FsRtpSpecialSourceClass *klass,
GList *negotiated_sources,
+ GstElement *bin,
+ GstElement *rtpmuxer,
GError **error)
{
/* STUB */
diff --git a/gst/fsrtpconference/fs-rtp-special-source.h b/gst/fsrtpconference/fs-rtp-special-source.h
index 52f4899..e4de13e 100644
--- a/gst/fsrtpconference/fs-rtp-special-source.h
+++ b/gst/fsrtpconference/fs-rtp-special-source.h
@@ -85,6 +85,8 @@ GList *
fs_rtp_special_sources_update (
GList *current_extra_sources,
GList *negotiated_codecs,
+ GstElement *bin,
+ GstElement *rtpmuxer,
GError **error);
GList *
--
1.5.6.5
More information about the farsight-commits
mailing list