qt: fix video surface initialization and de-initialization ordering issues
I wanted to initialize video surface provider and window handler within `commonSetupVoutWindow()`, since it is where the video window is set and video surface provider and window handler only makes sense when there is a valid vout window. However, for some reason, it did not work so it is a TODO for now. Currently, since there are a lot of signal connections, changes are reported even when there is no valid vout window. For example, `CompositorVideo::onSurfacePositionChanged()` may be called when there is no vout window or when it is already invalidated.
parent
8a4a0af2
No related branches found
No related tags found
Showing
- modules/gui/qt/maininterface/compositor.cpp 11 additions, 6 deletionsmodules/gui/qt/maininterface/compositor.cpp
- modules/gui/qt/maininterface/mainctx.hpp 2 additions, 0 deletionsmodules/gui/qt/maininterface/mainctx.hpp
- modules/gui/qt/maininterface/videosurface.cpp 52 additions, 84 deletionsmodules/gui/qt/maininterface/videosurface.cpp
- modules/gui/qt/maininterface/videosurface.hpp 12 additions, 16 deletionsmodules/gui/qt/maininterface/videosurface.hpp
- modules/gui/qt/player/qml/PIPPlayer.qml 3 additions, 3 deletionsmodules/gui/qt/player/qml/PIPPlayer.qml
- modules/gui/qt/player/qml/Player.qml 3 additions, 2 deletionsmodules/gui/qt/player/qml/Player.qml
Loading
Please register or sign in to comment