diff options
| author | tassaron | 2017-07-27 17:49:08 -0400 |
|---|---|---|
| committer | tassaron | 2017-07-27 17:49:08 -0400 |
| commit | de1324a6a75eb2a9f97d8a6b416077cfc73b2bc9 (patch) | |
| tree | 2aebc32702f193280f6332a7aa6c3f21e4390ca0 /src/toolkit/ffmpeg.py | |
| parent | 4329b0e947471ced7ca0b3460a5f40e2703117e9 (diff) | |
fixed video component eating stdout
+ made height/width into properties to simplify render methods
Diffstat (limited to 'src/toolkit/ffmpeg.py')
| -rw-r--r-- | src/toolkit/ffmpeg.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/toolkit/ffmpeg.py b/src/toolkit/ffmpeg.py index 8d63659..2fffc7b 100644 --- a/src/toolkit/ffmpeg.py +++ b/src/toolkit/ffmpeg.py @@ -252,7 +252,7 @@ def getAudioDuration(filename): return duration -def readAudioFile(filename, parent): +def readAudioFile(filename, videoWorker): ''' Creates the completeAudioArray given to components and used to draw the classic visualizer. @@ -296,8 +296,8 @@ def readAudioFile(filename, parent): if lastPercent != percent: string = 'Loading audio file: '+str(percent)+'%' - parent.progressBarSetText.emit(string) - parent.progressBarUpdate.emit(percent) + videoWorker.progressBarSetText.emit(string) + videoWorker.progressBarUpdate.emit(percent) lastPercent = percent |
