mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 15:47:11 +02:00
parent
3fd62d51aa
commit
0ecd4d3b40
1 changed files with 3 additions and 1 deletions
|
@ -2443,7 +2443,9 @@ bool OverlayWidget::initStreaming(bool continueStreaming) {
|
|||
void OverlayWidget::startStreamingPlayer() {
|
||||
Expects(_streamed != nullptr);
|
||||
|
||||
if (_streamed->instance.player().playing()) {
|
||||
if (!_streamed->instance.player().paused()
|
||||
&& !_streamed->instance.player().finished()
|
||||
&& !_streamed->instance.player().failed()) {
|
||||
if (!_streamed->withSound) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue