@@ -67,7 +67,7 @@ class Export(QDialog):
67
67
68
68
ExportStarted = pyqtSignal (str , int , int )
69
69
ExportFrame = pyqtSignal (str , int , int , int , str )
70
- ExportEnded = pyqtSignal (str )
70
+ ExportEnded = pyqtSignal (str )
71
71
72
72
def __init__ (self , * args , ** kwargs ):
73
73
super ().__init__ (* args , ** kwargs )
@@ -111,7 +111,6 @@ def __init__(self, *args, **kwargs):
111
111
self .txtChannels .setVisible (False )
112
112
113
113
# Set OMP thread disabled flag (for stability)
114
- openshot .Settings .Instance ().WAIT_FOR_VIDEO_PROCESSING_TASK = True
115
114
openshot .Settings .Instance ().HIGH_QUALITY_SCALING = True
116
115
117
116
project_timeline = get_app ().window .timeline_sync .timeline
@@ -1012,12 +1011,6 @@ def titlestring(sec, fps, mess):
1012
1011
# Clear all cache
1013
1012
self .timeline .ClearAllCache ()
1014
1013
1015
- # Re-set OMP thread enabled flag
1016
- if self .s .get ("omp_threads_enabled" ):
1017
- openshot .Settings .Instance ().WAIT_FOR_VIDEO_PROCESSING_TASK = False
1018
- else :
1019
- openshot .Settings .Instance ().WAIT_FOR_VIDEO_PROCESSING_TASK = True
1020
-
1021
1014
# Return scale mode to lower quality scaling (for faster previews)
1022
1015
openshot .Settings .Instance ().HIGH_QUALITY_SCALING = False
1023
1016
@@ -1066,14 +1059,6 @@ def reject(self):
1066
1059
# Resume export
1067
1060
return
1068
1061
1069
- # Re-set OMP thread enabled flag
1070
- # NOTE: This is always called when closing the export modal, and thus
1071
- # the keyframes are always scaled back to the original FPS if needed.
1072
- if self .s .get ("omp_threads_enabled" ):
1073
- openshot .Settings .Instance ().WAIT_FOR_VIDEO_PROCESSING_TASK = False
1074
- else :
1075
- openshot .Settings .Instance ().WAIT_FOR_VIDEO_PROCESSING_TASK = True
1076
-
1077
1062
# Return scale mode to lower quality scaling (for faster previews)
1078
1063
openshot .Settings .Instance ().HIGH_QUALITY_SCALING = False
1079
1064
0 commit comments