[gst-cvs] gst-plugins-ugly: mpegparse: re-fix flow return handling
Tim Müller
tpm at kemper.freedesktop.org
Wed Sep 15 12:22:58 PDT 2010
Module: gst-plugins-ugly
Branch: master
Commit: ccb624ec0374834d1ea177802e3e38e3270a635a
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-ugly/commit/?id=ccb624ec0374834d1ea177802e3e38e3270a635a
Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date: Wed Sep 15 20:14:47 2010 +0100
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);
---
gst/mpegstream/gstmpegparse.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gst/mpegstream/gstmpegparse.c b/gst/mpegstream/gstmpegparse.c
index f80b2bf..ce918a3 100644
--- a/gst/mpegstream/gstmpegparse.c
+++ b/gst/mpegstream/gstmpegparse.c
@@ -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 (result != GST_FLOW_OK);
+ } while (result == GST_FLOW_OK);
if (result != GST_FLOW_OK) {
GST_DEBUG_OBJECT (mpeg_parse, "flow: %s", gst_flow_get_name (result));
More information about the Gstreamer-commits
mailing list