summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2016-10-29 11:31:28 +0100
committerTim-Philipp Müller <tim@centricular.com>2016-10-29 11:31:28 +0100
commit2f8709d0578ae12120d0dd0736ec1a09bf2c09ea (patch)
tree93e31e7cc846c08544dc48b8307b0694beb9202e
parentf1c9fa28d2b139bfba9c8d7ca908e026e7de36fa (diff)
downloadgstreamer-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.
-rw-r--r--gst/rawparse/gstrawbaseparse.c4
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;