From 3bae70ceea96cc98985dc84c75efe8a046f82b7e Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 25 Aug 2010 09:58:20 +0200 Subject: [PATCH] rtspext: stop configuration on first failure Stop the configuration of a stream as soon as some of the extensions return FALSE. Fixes #581294 --- gst/rtsp/gstrtspext.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/rtsp/gstrtspext.c b/gst/rtsp/gstrtspext.c index a321679459..638ffdd45a 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; }