From 2f8709d0578ae12120d0dd0736ec1a09bf2c09ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 29 Oct 2016 11:31:28 +0100 Subject: 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. --- gst/rawparse/gstrawbaseparse.c | 4 ++-- 1 file 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; -- cgit v1.2.1