diff options
| author | tassaron | 2022-04-29 23:19:47 -0400 |
|---|---|---|
| committer | tassaron | 2022-04-29 23:19:47 -0400 |
| commit | 67c6fa43ac5ed85719179485b0fff4a8ad071a9f (patch) | |
| tree | 9c51b0ad34fba0a8d14e9ec8f768c82434cc5b01 /src | |
| parent | d51d49701e5880e35bbbade72c52bbec18f6e398 (diff) | |
switch Pillow-SIMD for Pillow
It is easier for people to install with pip. We can always go back to SIMD in the future when we have a better install script. Packaged versions can still use Pillow-SIMD
Diffstat (limited to 'src')
| -rw-r--r-- | src/gui/mainwindow.py | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/gui/mainwindow.py b/src/gui/mainwindow.py index c31eec9..1b28b7e 100644 --- a/src/gui/mainwindow.py +++ b/src/gui/mainwindow.py @@ -333,16 +333,7 @@ class MainWindow(QtWidgets.QMainWindow): self.openProject(self.currentProject, prompt=False) self.drawPreview(True) - # verify Pillow version - if not self.settings.value("pilMsgShown") \ - and 'post' not in Image.__version__: - self.showMessage( - msg="You are using the standard version of the " - "Python imaging library (Pillow %s). Upgrade " - "to the Pillow-SIMD fork to enable hardware accelerations " - "and export videos faster." % Image.__version__ - ) - self.settings.setValue("pilMsgShown", True) + log.info("Pillow version %s", Image.__version__) # verify Ffmpeg version if not self.settings.value("ffmpegMsgShown"): @@ -351,8 +342,7 @@ class MainWindow(QtWidgets.QMainWindow): ffmpegVers = checkOutput( ['ffmpeg', '-version'], stderr=f ) - goodVersion = (str(ffmpegVers).split()[2].startswith('3') or - str(ffmpegVers).split()[2].startswith('4')) + goodVersion = str(ffmpegVers).split()[2].startswith('4') except Exception: goodVersion = False else: |
