[farsight2/master] Add videoscale to all video codecs to make dumb codecs (like H263) that only take specific resolutions happy
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:21:16 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 6617d1d..f4ee609 100644
--- a/gst/fsrtpconference/fs-rtp-discover-codecs.c
+++ b/gst/fsrtpconference/fs-rtp-discover-codecs.c
@@ -574,6 +574,13 @@ parse_codec_cap_list (GList *list, FsMediaType media_type)
codec_blueprint->send_pipeline_factory,
g_list_append (NULL, tmpfact));
}
+ tmpfact = gst_element_factory_find ("videoscale");
+ if (tmpfact)
+ {
+ codec_blueprint->send_pipeline_factory = g_list_append (
+ codec_blueprint->send_pipeline_factory,
+ g_list_append (NULL, tmpfact));
+ }
}
else if (media_type == FS_MEDIA_TYPE_AUDIO)
{
--
1.5.6.5
More information about the farsight-commits
mailing list