The workers run in separate threads meaning if any significant change is made (e.g. parameters changing, or even closing the program), these workers may still be mid-render. This is particularly problematic when closing since the nodes a worker is rendering may be deleted mid-render. Render backends now have a function that pauses the main thread (but starts a second event loop so the UI isn't frozen) until the worker threads are all finished. This way, massive changes can be made safely without race conditions.
33 lines
1.1 KiB
CMake
33 lines
1.1 KiB
CMake
# Olive - Non-Linear Video Editor
|
|
# Copyright (C) 2019 Olive Team
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
add_subdirectory(about)
|
|
add_subdirectory(actionsearch)
|
|
add_subdirectory(export)
|
|
add_subdirectory(footageproperties)
|
|
add_subdirectory(keyframeproperties)
|
|
add_subdirectory(loadsave)
|
|
add_subdirectory(preferences)
|
|
add_subdirectory(projectproperties)
|
|
add_subdirectory(rendercancel)
|
|
add_subdirectory(sequence)
|
|
add_subdirectory(speedduration)
|
|
|
|
set(OLIVE_SOURCES
|
|
${OLIVE_SOURCES}
|
|
PARENT_SCOPE
|
|
)
|