Skip to content

Commit a3b6b62

Browse files
Revert "Fix autoStart (#64)"
1 parent 27fc815 commit a3b6b62

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

dartvlc/internal/setters.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,7 @@ class PlayerSetters: public PlayerEvents {
4646
this->state->isPlaylist = true;
4747
}
4848
this->_onOpenCallback(this->mediaList.itemAtIndex(0));
49-
if (autoStart) {
50-
this->mediaListPlayer.playItemAtIndex(0);
51-
}
49+
this->mediaListPlayer.playItemAtIndex(0);
5250
this->state->index = 0;
5351
this->state->isPlaying = this->mediaListPlayer.isPlaying();
5452
this->state->isValid = this->mediaListPlayer.isValid();

0 commit comments

Comments
 (0)