sdpdemux: Don't use GST_FLOW_IS_SUCCESS()

This commit is contained in:
Sebastian Dröge 2010-08-27 18:51:59 +02:00
parent 793a3563fa
commit d4782cbff8

View file

@ -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