Skip to content

uridecodebin3: default to non-0 buffer-size and buffer-duration, otherwise it could potentially cause big memory allocations over time

Dimitrios Katsaros requested to merge Dmt/gst-plugins-base:master into master

The default values were not being set on element initialization. This was a problem for buffer_duration and buffer_size since they would be zero initialized, rather then being set to -1. This would cause the underlying queue2 element to have no limits and depending on the streamed file, could cause queue2 to allocate massive amounts of memory.

Edited by Tim-Philipp Müller

Merge request reports