mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
mpegparse: re-fix flow return handling
Fix wrong GST_FLOW_IS_SUCCESS substitution in commit e99cb46c
:
- } while (GST_FLOW_IS_SUCCESS (result));
+ } while (result != GST_FLOW_OK);
This commit is contained in:
parent
8623c31bae
commit
ccb624ec03
1 changed files with 1 additions and 1 deletions
|
@ -837,7 +837,7 @@ gst_mpeg_parse_chain (GstPad * pad, GstBuffer * buffer)
|
||||||
", total since SCR: %" G_GINT64_FORMAT ", br: %" G_GINT64_FORMAT
|
", total since SCR: %" G_GINT64_FORMAT ", br: %" G_GINT64_FORMAT
|
||||||
", next SCR: %" G_GINT64_FORMAT, size, bss, br, mpeg_parse->next_scr);
|
", next SCR: %" G_GINT64_FORMAT, size, bss, br, mpeg_parse->next_scr);
|
||||||
}
|
}
|
||||||
} while (result != GST_FLOW_OK);
|
} while (result == GST_FLOW_OK);
|
||||||
|
|
||||||
if (result != GST_FLOW_OK) {
|
if (result != GST_FLOW_OK) {
|
||||||
GST_DEBUG_OBJECT (mpeg_parse, "flow: %s", gst_flow_get_name (result));
|
GST_DEBUG_OBJECT (mpeg_parse, "flow: %s", gst_flow_get_name (result));
|
||||||
|
|
Loading…
Reference in a new issue