uridecodebin3: Fixed defauts not being set on initialization
authorDimitrios Katsaros <patcherwork@gmail.com>
Fri, 17 Jan 2020 10:22:48 +0000 (11:22 +0100)
committerDimitrios Katsaros <patcherwork@gmail.com>
Fri, 17 Jan 2020 12:34:27 +0000 (13:34 +0100)
commit19b7b248cc02051924d478c102ba4895034b7fb2
tree09e41f7c06f7777410c5fce7fc4986ef7f6dc543
parentae2b4f8899a65377e10aa1156dff510b8ea665ae
uridecodebin3: Fixed defauts not being set on initialization

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
underlaying queue2 element to have no limits and depending on the
streamed file, could cause queue2 to allocate massive amounts of memory.
gst/playback/gsturidecodebin3.c