mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +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 Conflicts: libs/gst/base/gstbaseparse.c
This commit is contained in:
parent
f140cb8dbd
commit
98e1463411
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue