Skip to content

Commit

Permalink
MythMusic: Initialise m_wasPlaying to false in the player
Browse files Browse the repository at this point in the history
This fixes a problem with the player restarting the first time it is stopped
after the recent changes to how the player is stop/started when video playback
status is changed.
  • Loading branch information
Paul Harrison committed Aug 9, 2013
1 parent 9731684 commit 95215a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythplugins/mythmusic/mythmusic/musicplayer.cpp
Expand Up @@ -73,7 +73,7 @@ MusicPlayer::MusicPlayer(QObject *parent)
m_isPlaying = false;
m_playMode = PLAYMODE_TRACKS;
m_canShowPlayer = true;
m_wasPlaying = true;
m_wasPlaying = false;
m_updatedLastplay = false;
m_allowRestorePos = true;

Expand Down

0 comments on commit 95215a1

Please sign in to comment.