[farsight2/master] Use autoconvert as fsselector too
Olivier Crête
olivier.crete at collabora.co.uk
Wed Feb 25 18:18:35 PST 2009
---
gst/fsrtpconference/fs-rtp-session.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index 25b2f9d..89a1985 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -2691,12 +2691,15 @@ _create_codec_bin (const CodecAssociation *ca, const FsCodec *codec,
{
/* We have to check some kind of configuration to see if we have a
favorite */
- current_element = gst_element_factory_make ("fsselector", NULL);
+ current_element = gst_element_factory_make ("autoconvert", NULL);
+
+ if (!current_element)
+ current_element = gst_element_factory_make ("fsselector", NULL);
if (!current_element)
{
g_set_error (error, FS_ERROR, FS_ERROR_CONSTRUCTION,
- "Could not create fsselector element");
+ "Could not create autoconvert (ex-fsselector) element");
goto error;
}
--
1.5.6.5
More information about the farsight-commits
mailing list