Blackberry: Fix playlists not advancing to the next track.
The playlist watches for state changes to the EndOfMedia state, which wasn't used in the plugin yet. Change-Id: Ib2a014177df2273cd46baaef1392a73e54daf06c Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com> Reviewed-by: Lev Zelenskiy <lev.zelenskiy@nokia.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
This commit is contained in:
committed by
Qt by Nokia
parent
37ee0912d6
commit
637768d019
@@ -543,10 +543,12 @@ bool BbMediaPlayerControl::nativeEventFilter(const QByteArray &eventType, void *
|
|||||||
// playback is stopped because of this.
|
// playback is stopped because of this.
|
||||||
// Ignore other stop event sources, souch as calling mmr_stop() ourselves and
|
// Ignore other stop event sources, souch as calling mmr_stop() ourselves and
|
||||||
// mmr_input_attach().
|
// mmr_input_attach().
|
||||||
if (m_stopEventsToIgnore > 0)
|
if (m_stopEventsToIgnore > 0) {
|
||||||
--m_stopEventsToIgnore;
|
--m_stopEventsToIgnore;
|
||||||
else
|
} else {
|
||||||
|
setMediaStatus(QMediaPlayer::EndOfMedia);
|
||||||
stopInternal(IgnoreMmRenderer);
|
stopInternal(IgnoreMmRenderer);
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user