diff options
| author | DH4 | 2017-06-01 22:46:45 -0500 |
|---|---|---|
| committer | DH4 | 2017-06-01 22:46:45 -0500 |
| commit | 7d8e9ab3b16546e91144e256e88f9f490abc7ec2 (patch) | |
| tree | c314536d70adc85b12f40aeab62d4f20576d974a /video_thread.py | |
| parent | 30f2ea12df0ae732797bcc716de592e878262290 (diff) | |
Added aspect ratio scaling to preview area.
Diffstat (limited to 'video_thread.py')
| -rw-r--r-- | video_thread.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video_thread.py b/video_thread.py index dee254a..a7c7ac6 100644 --- a/video_thread.py +++ b/video_thread.py @@ -63,7 +63,7 @@ class Worker(QtCore.QObject): def previewDispatch(self): while True: i = self.previewQueue.get() - if time.time() - self.lastPreview >= 0.05 or i[0] == 0: + if time.time() - self.lastPreview >= 0.06 or i[0] == 0: self._image = ImageQt(i[1]) self.imageCreated.emit(QtGui.QImage(self._image)) self.lastPreview = time.time() |
