GNOME Bugzilla – Bug 784479
omxvideodec: increase the minimum number of allocated buffers
Last modified: 2017-07-03 15:06:06 UTC
.
Created attachment 354843 [details] [review] omxvideodec: increase the minimum number of allocated buffers Ensure that enough buffers are allocated by adding up component's own minimal plus the number of buffers requested by downstream. This should prevent buffers starvation problem if downstream elements are holding some of the buffers they required. Also simplify the check on the maximum on buffers. What we actually care about is to make sure the pool can hold the minimum of required buffers.
Review of attachment 354843 [details] [review]: Looks good to me, this is what we do elsewhere too.
Attachment 354843 [details] pushed as a380511 - omxvideodec: increase the minimum number of allocated buffers