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 685bb8edb3
commit 7d8cc8a2e6

View file

@ -590,8 +590,8 @@ gst_raw_base_parse_handle_frame (GstBaseParse * parse,
new_caps_event = NULL; 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; return flow_ret;