rtspext: stop configuration on first failure
Stop the configuration of a stream as soon as some of the extensions return FALSE. Fixes #581294
This commit is contained in:
parent
6660817af1
commit
3bae70ceea
@ -202,6 +202,8 @@ gst_rtsp_ext_list_configure_stream (GstRTSPExtensionList * ext, GstCaps * caps)
|
|||||||
GstRTSPExtension *elem = (GstRTSPExtension *) walk->data;
|
GstRTSPExtension *elem = (GstRTSPExtension *) walk->data;
|
||||||
|
|
||||||
res = gst_rtsp_extension_configure_stream (elem, caps);
|
res = gst_rtsp_extension_configure_stream (elem, caps);
|
||||||
|
if (!res)
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user