mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +00:00
mpegstream: Don't use GST_FLOW_IS_SUCCESS()
This commit is contained in:
parent
f3fa6f6de0
commit
e99cb46c60
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue