Revert centering — breaks video playback, keep simple layout
This commit is contained in:
parent
0092007fc1
commit
9c17505b4b
@ -403,7 +403,7 @@ class VideoPlayer(QWidget):
|
|||||||
# Video surface
|
# Video surface
|
||||||
self._video_widget = QVideoWidget()
|
self._video_widget = QVideoWidget()
|
||||||
self._video_widget.setAspectRatioMode(Qt.AspectRatioMode.KeepAspectRatio)
|
self._video_widget.setAspectRatioMode(Qt.AspectRatioMode.KeepAspectRatio)
|
||||||
layout.addWidget(self._video_widget, stretch=1, alignment=Qt.AlignmentFlag.AlignCenter)
|
layout.addWidget(self._video_widget, stretch=1)
|
||||||
|
|
||||||
# Player
|
# Player
|
||||||
self._player = QMediaPlayer()
|
self._player = QMediaPlayer()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user