mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-04 05:17:55 +00:00
Fix crash in pinned video switching.
This commit is contained in:
parent
54c2769d8a
commit
0dcc7a05f7
@ -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) {
|
||||
|
2
Telegram/ThirdParty/tgcalls
vendored
2
Telegram/ThirdParty/tgcalls
vendored
@ -1 +1 @@
|
||||
Subproject commit 697ef2ed67cfcad81b0e61caf0945a057a847327
|
||||
Subproject commit 6ee9e983b8eebceb2603633c12d4cf2b973be046
|
Loading…
Reference in New Issue
Block a user