nle: Seek the whole stack on initialization
authorThibault Saunier <tsaunier@igalia.com>
Thu, 6 Feb 2020 15:39:12 +0000 (12:39 -0300)
committerThibault Saunier <tsaunier@igalia.com>
Wed, 12 Feb 2020 20:50:37 +0000 (17:50 -0300)
commitc63586e0a7d808bcd3d3a652114523751b41ec60
tree93a3e1c5931ec3179e243a462cb4a20298e1befb
parent17500f68361a516367a4ee0a0e205c68e531cfca
nle: Seek the whole stack on initialization

Instead of seeking each nleobject separately to setup new stack, wait
for the whole stack to preroll and then seek that newly setup stack,
leading to the same code path and seek 'tweaking' as when processing
a seek on the composition (without stack changes).

This is mandatory to properly handle filter that tweak segments to handle
time remapping for example.
plugins/nle/nlecomposition.c
plugins/nle/nlesource.c