[farsight2/master] Add videoanyrate element to the pipeline
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:24:07 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 30dcfcd..ef5edd5 100644
--- a/gst/fsrtpconference/fs-rtp-discover-codecs.c
+++ b/gst/fsrtpconference/fs-rtp-discover-codecs.c
@@ -567,6 +567,13 @@ parse_codec_cap_list (GList *list, FsMediaType media_type)
/* Lets add the converters at the beginning of the encoding pipelines */
if (media_type == FS_MEDIA_TYPE_VIDEO)
{
+ tmpfact = gst_element_factory_find ("fsvideoanyrate");
+ 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 ("ffmpegcolorspace");
if (tmpfact)
{
--
1.5.6.5
More information about the farsight-commits
mailing list