mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-30 13:03:58 +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() {
|
void OverlayWidget::startStreamingPlayer() {
|
||||||
Expects(_streamed != nullptr);
|
Expects(_streamed != nullptr);
|
||||||
|
|
||||||
if (_streamed->instance.player().playing()) {
|
if (!_streamed->instance.player().paused()
|
||||||
|
&& !_streamed->instance.player().finished()
|
||||||
|
&& !_streamed->instance.player().failed()) {
|
||||||
if (!_streamed->withSound) {
|
if (!_streamed->withSound) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue