From 95fb1dbd0e9ab61dc32ed707cdf4216229dd5602 Mon Sep 17 00:00:00 2001 From: Peery Date: Tue, 4 Jan 2022 17:47:26 +0100 Subject: [PATCH] Added mkv to the playable Videos --- ArtNet/gui/window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArtNet/gui/window.py b/ArtNet/gui/window.py index 2085906..3ebc292 100644 --- a/ArtNet/gui/window.py +++ b/ArtNet/gui/window.py @@ -542,7 +542,7 @@ class Window(QtWidgets.QMainWindow): self.ui.image_label.setMovie(self.__pixmap) self.__pixmap.start() self.__pixmap.frameChanged.connect(self.on_movie_frame_changed) - elif file_ending in ["webm", "mp4", "mov"]: + elif file_ending in ["webm", "mp4", "mov", "mkv"]: self.__showing_video = True self.__video = QVideoWidget() if self.__video is None else self.__video self.__player = QtMultimedia.QMediaPlayer(None, QtMultimedia.QMediaPlayer.VideoSurface)