diff --git a/gst/sdp/gstsdpdemux.c b/gst/sdp/gstsdpdemux.c index ccf197ea9f..5efc30b1cf 100644 --- a/gst/sdp/gstsdpdemux.c +++ b/gst/sdp/gstsdpdemux.c @@ -1110,7 +1110,7 @@ gst_sdp_demux_combine_flows (GstSDPDemux * demux, GstSDPStream * stream, stream->last_ret = ret; /* if it's success we can return the value right away */ - if (GST_FLOW_IS_SUCCESS (ret)) + if (ret == GST_FLOW_OK) goto done; /* any other error that is not-linked can be returned right