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 Conflicts: libs/gst/base/gstbaseparse.c
This commit is contained in:
parent
f140cb8dbd
commit
98e1463411
@ -2606,7 +2606,7 @@ gst_base_parse_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
|
||||
/* probably already implicitly unmapped due to adapter operation,
|
||||
* but for good measure ... */
|
||||
gst_adapter_unmap (parse->priv->adapter);
|
||||
if (ret != GST_FLOW_OK) {
|
||||
if (ret != GST_FLOW_OK && ret != GST_FLOW_NOT_LINKED) {
|
||||
goto done;
|
||||
}
|
||||
if (skip == 0 && flush == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user