diff options
| author | tassaron | 2017-06-11 17:03:40 -0400 |
|---|---|---|
| committer | tassaron | 2017-06-11 17:03:40 -0400 |
| commit | 28f07272cc174efe8e219abed683d22f72f18d94 (patch) | |
| tree | fd5285787d87d5086b9d8addfa5a728d7d2b8faf /components | |
| parent | be5d47f8634d29d58b9811657ede815814ffde18 (diff) | |
using tab in component list updates widget
and more understandable function names for writing/reading presets
Diffstat (limited to 'components')
| -rw-r--r-- | components/video.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/components/video.py b/components/video.py index c529658..bd1bf96 100644 --- a/components/video.py +++ b/components/video.py @@ -10,8 +10,15 @@ from . import __base__ class Video: '''Video Component Frame-Fetcher''' def __init__(self, **kwargs): - mandatoryArgs = ['ffmpeg', 'videoPath', 'width', 'height', - 'frameRate', 'chunkSize', 'parent'] + mandatoryArgs = [ + 'ffmpeg', # path to ffmpeg, usually core.FFMPEG_BIN + 'videoPath', + 'width', + 'height', + 'frameRate', # frames per second + 'chunkSize', # number of bytes in one frame + 'parent' + ] for arg in mandatoryArgs: try: exec('self.%s = kwargs[arg]' % arg) |
