QMediaPlayer never changes status to "Stopped" automatically
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Media Hub |
Fix Released
|
High
|
Jim Hodapp | ||
qtubuntu-media |
Fix Released
|
High
|
Jim Hodapp | ||
qtubuntu-media (Ubuntu) |
Fix Released
|
Undecided
|
Jim Hodapp |
Bug Description
In telephony-
As a workaround we are doing the following():
if (mediaPlayer.
mediaPlayer
}
if (mediaPlayer.
....
}
Not sure if related, but we noticed that calling stop() in a QMediaPlayer that is already stopped and that uses a playlist causes it to start playing again. As a workaround we are clearing the playlist before calling stop().
These two bugs started to happen at the same time last week.
For now we added those workarounds to telephony-service here: https:/
Related branches
- Tiago Salem Herrmann (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 29 lines (+11/-0)1 file modifiedsrc/aal/aalmediaplayercontrol.cpp (+11/-0)
Changed in media-hub: | |
importance: | Undecided → High |
Changed in qtubuntu-media: | |
importance: | Undecided → High |
tags: | added: rtm14 |
Changed in media-hub: | |
status: | New → In Progress |
Changed in qtubuntu-media: | |
status: | New → In Progress |
Changed in qtubuntu-media (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Jim Hodapp (jhodapp) |
Changed in media-hub: | |
status: | In Progress → Fix Committed |
Changed in qtubuntu-media (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in media-hub: | |
status: | Fix Committed → Fix Released |
Changed in qtubuntu-media: | |
status: | In Progress → Fix Released |
I'm curious if you try to use pause() instead of stop, do you get the desired behavior that you're looking for?