From: Wim Taymans Date: Wed, 25 Aug 2010 07:58:20 +0000 (+0200) Subject: rtspext: stop configuration on first failure X-Git-Tag: RELEASE-0.10.26~202 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3bae70ceea96cc98985dc84c75efe8a046f82b7e;p=platform%2Fupstream%2Fgst-plugins-good.git rtspext: stop configuration on first failure Stop the configuration of a stream as soon as some of the extensions return FALSE. Fixes #581294 --- diff --git a/gst/rtsp/gstrtspext.c b/gst/rtsp/gstrtspext.c index a321679..638ffdd 100644 --- a/gst/rtsp/gstrtspext.c +++ b/gst/rtsp/gstrtspext.c @@ -202,6 +202,8 @@ gst_rtsp_ext_list_configure_stream (GstRTSPExtensionList * ext, GstCaps * caps) GstRTSPExtension *elem = (GstRTSPExtension *) walk->data; res = gst_rtsp_extension_configure_stream (elem, caps); + if (!res) + break; } return res; }