[farsight2/master] Make the error message on no local codecs clearer
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:20:56 PST 2008
---
gst/fsrtpconference/fs-rtp-session.c | 3 ++-
tests/gui/fs2-gui.py | 4 ++++
2 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index 3fb82c2..f876412 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -712,7 +712,8 @@ fs_rtp_session_constructed (GObject *object)
if (!self->priv->local_codec_associations) {
self->priv->construction_error = g_error_new (FS_ERROR,
FS_ERROR_INVALID_ARGUMENTS,
- "The passed codec preferences invalidate all blueprints");
+ "The passed codec preferences does not contain enough parameters to"
+ "use at least one codec or disables them all");
return;
}
diff --git a/tests/gui/fs2-gui.py b/tests/gui/fs2-gui.py
index 1bc4a6b..a40e95c 100644
--- a/tests/gui/fs2-gui.py
+++ b/tests/gui/fs2-gui.py
@@ -241,6 +241,10 @@ class FsUISession:
"H263-1998",
farsight.MEDIA_TYPE_VIDEO,
0),
+ farsight.Codec(farsight.CODEC_ID_ANY,
+ "THEORA",
+ farsight.MEDIA_TYPE_VIDEO,
+ 90000),
farsight.Codec(farsight.CODEC_ID_DISABLE,
"H264",
farsight.MEDIA_TYPE_VIDEO,
--
1.5.6.5
More information about the farsight-commits
mailing list