diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2016-10-29 11:31:28 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2016-10-29 11:31:28 +0100 |
commit | 2f8709d0578ae12120d0dd0736ec1a09bf2c09ea (patch) | |
tree | 93e31e7cc846c08544dc48b8307b0694beb9202e /gst/rawparse | |
parent | f1c9fa28d2b139bfba9c8d7ca908e026e7de36fa (diff) | |
download | gstreamer-plugins-bad-2f8709d0578ae12120d0dd0736ec1a09bf2c09ea.tar.gz |
rawparse: pass flow returns upstream
rawvideoparse wouldn't error out on not-negotiated,
but would just keep on going, because it didn't pass
the flow return value back to the parent class and
thus upstream, so the source wouldnt' stop streaming.
Diffstat (limited to 'gst/rawparse')
-rw-r--r-- | gst/rawparse/gstrawbaseparse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/rawparse/gstrawbaseparse.c b/gst/rawparse/gstrawbaseparse.c index e90f400fa..c2ccee511 100644 --- a/gst/rawparse/gstrawbaseparse.c +++ b/gst/rawparse/gstrawbaseparse.c @@ -590,8 +590,8 @@ gst_raw_base_parse_handle_frame (GstBaseParse * parse, new_caps_event = NULL; } - gst_base_parse_finish_frame (parse, frame, out_size + frame->overhead); - + flow_ret = + gst_base_parse_finish_frame (parse, frame, out_size + frame->overhead); return flow_ret; |