[farsight2/master] Our special errors should be of type element

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:20:13 PST 2008


---
 gst-libs/gst/farsight/fs-base-conference.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/gst-libs/gst/farsight/fs-base-conference.c b/gst-libs/gst/farsight/fs-base-conference.c
index bc43520..ed44614 100644
--- a/gst-libs/gst/farsight/fs-base-conference.c
+++ b/gst-libs/gst/farsight/fs-base-conference.c
@@ -280,8 +280,7 @@ fs_base_conference_error (GObject *signal_src, GObject *error_src,
       "debug-msg", G_TYPE_STRING, debug_msg,
       NULL);
 
-  gst_msg = gst_message_new_custom (GST_MESSAGE_ERROR, GST_OBJECT (conf),
-      error_struct);
+  gst_msg = gst_message_new_element (GST_OBJECT (conf), error_struct);
 
   if (!gst_element_post_message (GST_ELEMENT (conf), gst_msg))
   {
-- 
1.5.6.5




More information about the farsight-commits mailing list