We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd5bcf6 commit 6b4e67fCopy full SHA for 6b4e67f
Source/Gui/MainWindow.cpp
@@ -481,7 +481,7 @@ void MainWindow::PlayAnimation()
481
// Force recreation of the native window handle to ensure proper rendering
482
// Calling winId() for its side effect - it creates/retrieves the native window handle
483
(void)_videoWidget->winId();
484
- _mediaPlayer->setVideoOutput(nullptr);
+ _mediaPlayer->setVideoOutput(static_cast<QVideoWidget*>(nullptr));
485
_mediaPlayer->setVideoOutput(_videoWidget);
486
_mediaPlayer->play();
487
}
0 commit comments