[farsight2/master] Add another audioconvert
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:22:15 PST 2008
---
gst/fsrtpconference/fs-rtp-discover-codecs.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-discover-codecs.c b/gst/fsrtpconference/fs-rtp-discover-codecs.c
index a9328b5..6382171 100644
--- a/gst/fsrtpconference/fs-rtp-discover-codecs.c
+++ b/gst/fsrtpconference/fs-rtp-discover-codecs.c
@@ -579,6 +579,13 @@ parse_codec_cap_list (GList *list, FsMediaType media_type)
}
else if (media_type == FS_MEDIA_TYPE_AUDIO)
{
+ tmpfact = gst_element_factory_find ("audioconvert");
+ if (tmpfact)
+ {
+ codec_blueprint->send_pipeline_factory = g_list_append (
+ codec_blueprint->send_pipeline_factory,
+ g_list_append (NULL, tmpfact));
+ }
tmpfact = gst_element_factory_find ("audioresample");
if (tmpfact)
{
--
1.5.6.5
More information about the farsight-commits
mailing list