mpegstream: Don't use GST_FLOW_IS_SUCCESS()

This commit is contained in:
Sebastian Dröge 2010-08-27 18:24:11 +02:00
parent f3fa6f6de0
commit e99cb46c60
3 changed files with 3 additions and 3 deletions

View file

@ -963,7 +963,7 @@ gst_dvd_demux_combine_flows (GstMPEGDemux * mpegdemux, GstMPEGStream * stream,
stream->last_flow = flow;
/* if it's success we can return the value right away */
if (GST_FLOW_IS_SUCCESS (flow))
if (flow == GST_FLOW_OK)
goto done;
/* any other error that is not-linked can be returned right

View file

@ -954,7 +954,7 @@ gst_mpeg_demux_combine_flows (GstMPEGDemux * demux, GstMPEGStream * stream,
stream->last_flow = flow;
/* if it's success we can return the value right away */
if (GST_FLOW_IS_SUCCESS (flow))
if (flow == GST_FLOW_OK)
goto done;
/* any other error that is not-linked can be returned right

View file

@ -837,7 +837,7 @@ gst_mpeg_parse_chain (GstPad * pad, GstBuffer * buffer)
", total since SCR: %" G_GINT64_FORMAT ", br: %" G_GINT64_FORMAT
", next SCR: %" G_GINT64_FORMAT, size, bss, br, mpeg_parse->next_scr);
}
} while (GST_FLOW_IS_SUCCESS (result));
} while (result != GST_FLOW_OK);
if (result != GST_FLOW_OK) {
GST_DEBUG_OBJECT (mpeg_parse, "flow: %s", gst_flow_get_name (result));