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
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
", 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));