vaapioverlay: unroll the recursive call
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 14 Jan 2020 17:57:31 +0000 (18:57 +0100)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 14 Jan 2020 18:52:18 +0000 (19:52 +0100)
commit889fac3823cc4f6ab5923a71d3e56d25f17df52e
tree9860d6caa3520bc693ebdcd214cdb0d78f35bacd
parentd0e14ec3089af20f75e12816368f0807b355af93
vaapioverlay: unroll the recursive call

Recursive functions are elegant but dangerous since they might
overflow the stack. It is better to turn them into a list tranversal
if possible, as this case.
gst/vaapi/gstvaapioverlay.c