[farsight2/master] rtpconference: Let messages through on construction errors
Olivier Crête
olivier.crete at collabora.co.uk
Wed Jul 29 15:22:06 PDT 2009
---
gst/fsrtpconference/fs-rtp-conference.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-conference.c b/gst/fsrtpconference/fs-rtp-conference.c
index b9d6511..ffb81fb 100644
--- a/gst/fsrtpconference/fs-rtp-conference.c
+++ b/gst/fsrtpconference/fs-rtp-conference.c
@@ -711,7 +711,7 @@ fs_rtp_conference_handle_message (
FsRtpConference *self = FS_RTP_CONFERENCE (bin);
if (!self->gstrtpbin)
- return;
+ goto out;
switch (GST_MESSAGE_TYPE (message)) {
case GST_MESSAGE_ELEMENT:
@@ -757,14 +757,13 @@ fs_rtp_conference_handle_message (
session_id, ssrc, cname);
}
}
- /* fallthrough to forward the modified message to the parent */
}
default:
- {
- GST_BIN_CLASS (parent_class)->handle_message (bin, message);
break;
- }
}
+
+ out:
+ GST_BIN_CLASS (parent_class)->handle_message (bin, message);
}
static GstStateChangeReturn
--
1.5.6.5
More information about the farsight-commits
mailing list