Commit dc71f43f authored by Andrew Voznytsa's avatar Andrew Voznytsa
Browse files

Force video start if need

parent f52bc85d
...@@ -651,8 +651,15 @@ VideoManager::_restartVideo() ...@@ -651,8 +651,15 @@ VideoManager::_restartVideo()
qCDebug(VideoManagerLog) << "Restart video streaming"; qCDebug(VideoManagerLog) << "Restart video streaming";
if (!_enableVideoRestart) {
_enableVideoRestart = true;
_startReceiver(0);
_startReceiver(1);
} else {
_stopReceiver(1); _stopReceiver(1);
_stopReceiver(0); _stopReceiver(0);
}
// emit aspectRatioChanged(); // emit aspectRatioChanged();
#endif #endif
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment