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.
This commit is contained in:
Tim-Philipp Müller 2016-10-29 11:31:28 +01:00
parent f1c9fa28d2
commit 2f8709d057

View file

@ -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;