From c13e433e65acd41e01bd154b0e7fa085aecf1e8d Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 30 Dec 2019 13:39:18 +0300 Subject: [PATCH] Fix possible crash in failed media resume. --- Telegram/SourceFiles/media/streaming/media_streaming_player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/media/streaming/media_streaming_player.cpp b/Telegram/SourceFiles/media/streaming/media_streaming_player.cpp index 6f550a49f..9d38e5281 100644 --- a/Telegram/SourceFiles/media/streaming/media_streaming_player.cpp +++ b/Telegram/SourceFiles/media/streaming/media_streaming_player.cpp @@ -811,7 +811,7 @@ bool Player::buffering() const { } bool Player::paused() const { - return _pausedByUser; + return _pausedByUser && active(); } bool Player::finished() const {