aboutsummaryrefslogtreecommitdiff
path: root/components/video.py
diff options
context:
space:
mode:
authortassaron2017-06-07 17:09:28 -0400
committertassaron2017-06-07 17:09:28 -0400
commit6f2f02b709d2ea789b39b68f9a21a1a35d421075 (patch)
tree345015d16b4ac66df102d5a0c9b8c7c9b28137f3 /components/video.py
parentacf22900256d75c469c78efbd98139e3bfab0e93 (diff)
newProject method & various small fixes
Diffstat (limited to 'components/video.py')
-rw-r--r--components/video.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/components/video.py b/components/video.py
index b28b81e..f086cc0 100644
--- a/components/video.py
+++ b/components/video.py
@@ -5,7 +5,8 @@ import subprocess
import threading
from queue import PriorityQueue
from . import __base__
-
+
+
class Video:
'''Video Component Frame-Fetcher'''
def __init__(self, **kwargs):
@@ -129,10 +130,12 @@ class Component(__base__.Component):
def loadPreset(self, pr):
self.page.lineEdit_video.setText(pr['video'])
+ self.page.checkBox_loop.setChecked(pr['loop'])
def savePreset(self):
return {
'video': self.videoPath,
+ 'loop': self.loopVideo,
}
def pickVideo(self):