• Thibault Saunier's avatar
    previewers: Pause each previewers when pausing the GeneratorManager · 756c69d7
    Thibault Saunier authored
    To enhance performance while removing assets we are pausing
    the previewer generation while deleting clips, this means that
    the current previewer is always reset to None (in the Manager) and we
    call `start_next_previewer` when we are done with the clip removal.
    If the clip holding the generator that was being used before pausing
    was not removed, it leads to that generator being restarted, but
    previous code was just recreating a new pipeline from it, without
    ever stoping previous pipeline, this previous pipeline was destructed
    while in PAUSED... leading to the deadlock described in the bug report.
    
    The strategy is to inform previewers that they should be
    PAUSED so that they just restart when needed.
    
    Fixes #2227
    756c69d7
Name
Last commit
Last update
bin Loading commit data...
build/flatpak Loading commit data...
data Loading commit data...
docs Loading commit data...
help Loading commit data...
pitivi Loading commit data...
po Loading commit data...
subprojects Loading commit data...
tests Loading commit data...
win32 Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
.pre-commit-config.yaml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
MAINTAINERS Loading commit data...
NEWS Loading commit data...
README Loading commit data...
RELEASE Loading commit data...
getenvvar.py Loading commit data...
intltool-extract.in Loading commit data...
intltool-merge.in Loading commit data...
intltool-update.in Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
pitivi.doap Loading commit data...
pitivi.xml Loading commit data...
pre-commit.hook Loading commit data...