mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
baseparse: always attempt to push if not-linked
This avoids ending up with plenty of pending data (since we'll only try to parse/push one frame from the incoming buffer). Fixes increasing memory consumption when parsers aren't linked
This commit is contained in:
parent
9441e711df
commit
df6d0b0696
1 changed files with 1 additions and 1 deletions
|
@ -2466,7 +2466,7 @@ gst_base_parse_chain (GstPad * pad, GstBuffer * buffer)
|
|||
ret = gst_base_parse_handle_and_push_frame (parse, bclass, frame);
|
||||
GST_PAD_STREAM_UNLOCK (parse->srcpad);
|
||||
|
||||
if (ret != GST_FLOW_OK) {
|
||||
if (ret != GST_FLOW_OK && ret != GST_FLOW_NOT_LINKED) {
|
||||
GST_LOG_OBJECT (parse, "push returned %d", ret);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue