[farsight2/master] Remove unused _update special source method
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 13:46:08 PST 2008
---
gst/fsrtpconference/fs-rtp-special-source.c | 19 +------------------
gst/fsrtpconference/fs-rtp-special-source.h | 7 -------
2 files changed, 1 insertions(+), 25 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-special-source.c b/gst/fsrtpconference/fs-rtp-special-source.c
index 021e42b..28b4053 100644
--- a/gst/fsrtpconference/fs-rtp-special-source.c
+++ b/gst/fsrtpconference/fs-rtp-special-source.c
@@ -104,10 +104,6 @@ fs_rtp_special_source_new (FsRtpSpecialSourceClass *klass,
FsCodec *selected_codec,
GstElement *bin,
GstElement *rtpmuxer);
-static gboolean
-fs_rtp_special_source_update (FsRtpSpecialSource *source,
- GList *negotiated_codecs,
- FsCodec *selected_codec);
static gpointer
register_classes (gpointer data)
@@ -440,8 +436,7 @@ fs_rtp_special_sources_remove (
if (obj_item)
{
if (!fs_rtp_special_source_class_want_source (klass, negotiated_codecs,
- send_codec) ||
- fs_rtp_special_source_update (obj, negotiated_codecs, send_codec))
+ send_codec))
{
current_extra_sources = g_list_remove (current_extra_sources, obj);
g_object_unref (obj);
@@ -585,18 +580,6 @@ fs_rtp_special_source_new (FsRtpSpecialSourceClass *klass,
return NULL;
}
-static gboolean
-fs_rtp_special_source_update (FsRtpSpecialSource *source,
- GList *negotiated_sources, FsCodec *selected_codec)
-{
- FsRtpSpecialSourceClass *klass = FS_RTP_SPECIAL_SOURCE_GET_CLASS (source);
-
- if (klass->update)
- return klass->update (source, negotiated_sources, selected_codec);
-
- return FALSE;
-}
-
/**
* fs_rtp_special_source_send_event:
* @self: a #FsRtpSpecialSource
diff --git a/gst/fsrtpconference/fs-rtp-special-source.h b/gst/fsrtpconference/fs-rtp-special-source.h
index 138c81e..bca2a1e 100644
--- a/gst/fsrtpconference/fs-rtp-special-source.h
+++ b/gst/fsrtpconference/fs-rtp-special-source.h
@@ -58,9 +58,6 @@ typedef struct _FsRtpSpecialSourcePrivate FsRtpSpecialSourcePrivate;
* FsRtpSpecialSourceClass:
* @build: The method builds the source #GstElement from the list of negotiated
* codecs and selected codecs, it returns %NULL on error
- * @update: This optional method can update the content of the current source
- * if its possible. If the source can not be modified, it returns %FALSE (and
- * a new source will be created)
* @want_source: Returns %TRUE if a source of this type should be created
* according to the selected codec and the negotiated codecs
* @add_blueprint: Adds #CodecBlueprint structs to the list if the proper
@@ -83,10 +80,6 @@ struct _FsRtpSpecialSourceClass
GList *negotiated_codecs,
FsCodec *selected_codec);
- gboolean (*update) (FsRtpSpecialSource *source,
- GList *negotiated_codecs,
- FsCodec *selected_codec);
-
/* Class methods */
gboolean (*want_source) (FsRtpSpecialSourceClass *klass,
GList *negotiated_codecs,
--
1.5.6.5
More information about the farsight-commits
mailing list