aboutsummaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authortassaron2017-08-03 18:08:49 -0400
committertassaron2017-08-03 18:08:49 -0400
commitae8a547b77a618c793929701f9c1fa72d3300110 (patch)
tree4c2d0038798e5cb3f5b52dd32c7310c03880fe88 /src/core.py
parent219e846984bb10e9674432fa7aeac4157635c743 (diff)
max spinbox vals scale relatively & less errors when spamming res change
w/h attrs are locked during render so preview thread always get correctly-sized frame
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core.py b/src/core.py
index 24bf097..afb1e45 100644
--- a/src/core.py
+++ b/src/core.py
@@ -451,8 +451,8 @@ class Core:
'1280x720',
'854x480',
],
- 'windowHasFocus': False,
'FFMPEG_BIN': findFfmpeg(),
+ 'windowHasFocus': False,
'canceled': False,
}
@@ -492,7 +492,7 @@ class Core:
@classmethod
def loadDefaultSettings(cls):
- defaultSettings = {
+ cls.defaultSettings = {
"outputWidth": 1280,
"outputHeight": 720,
"outputFrameRate": 30,
@@ -509,7 +509,7 @@ class Core:
"pref_genericPreview": True,
}
- for parm, value in defaultSettings.items():
+ for parm, value in cls.defaultSettings.items():
if cls.settings.value(parm) is None:
cls.settings.setValue(parm, value)