Skip to content

Commit cfc8f0d

Browse files
Merge pull request #95 from alexmercerind/revert-94-master
Revert "Fix autoStart (#64)"
2 parents 27fc815 + a3b6b62 commit cfc8f0d

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)