_schedule_next_thumb_generation was being called twice, causing two timeouts to be created:- from _start_thumbnailing_cb,
- from __bus_message_cb because the pipeline has been PAUSED.
Now we only schedule when the pipeline has been PAUSED.
Additionally, we create the pipeline only if needed, to avoid waiting for no reason.
Differential Revision: https://phabricator.freedesktop.org/D1939
c0160a6f previewers: Remove double initial scheduling
pitivi/timeline/previewers.py | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)