[gst-cvs] gst-plugins-bad: sdpdemux: Don't use GST_FLOW_IS_SUCCESS()
Sebastian Dröge
slomo at kemper.freedesktop.org
Tue Sep 21 03:29:29 PDT 2010
Module: gst-plugins-bad
Branch: master
Commit: d4782cbff8264e9e45dc76c7a70ff52c88dc9df5
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=d4782cbff8264e9e45dc76c7a70ff52c88dc9df5
Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date: Fri Aug 27 18:51:59 2010 +0200
sdpdemux: Don't use GST_FLOW_IS_SUCCESS()
---
gst/sdp/gstsdpdemux.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gst/sdp/gstsdpdemux.c b/gst/sdp/gstsdpdemux.c
index ccf197e..5efc30b 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
More information about the Gstreamer-commits
mailing list