Fix crash in pinned video switching.

This commit is contained in:
John Preston 2021-05-04 17:55:25 +04:00
parent 54c2769d8a
commit 0dcc7a05f7
2 changed files with 3 additions and 3 deletions

View File

@ -1815,9 +1815,9 @@ void GroupCall::ensureControllerCreated() {
_videoEndpointLarge.changes(
) | rpl::start_with_next([=](const std::string &endpoint) {
_instance->setFullSizeVideoEndpointId(endpoint);
_videoLargeTrack = nullptr;
_videoLargeTrackWrap = nullptr;
if (endpoint.empty()) {
_videoLargeTrack = nullptr;
_videoLargeTrackWrap = nullptr;
return;
}
if (!_videoLargeTrackWrap) {

@ -1 +1 @@
Subproject commit 697ef2ed67cfcad81b0e61caf0945a057a847327
Subproject commit 6ee9e983b8eebceb2603633c12d4cf2b973be046