MediaPlayer.play() is a blocking call

Bug #1571656 reported by Omer Akram
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtubuntu-media (Ubuntu)
New
Undecided
Unassigned

Bug Description

Whenever I play a local track file, for a small interval my app UI is blocked. this blockage is probably something between 300-600ms.

I would expect play() call to be super smooth. Need help to debug whats causing that.

Revision history for this message
Jim Hodapp (jhodapp) wrote :

What is your application and what are you trying to do? Can you give me some more specific info?

Revision history for this message
Omer Akram (om26er) wrote :

I am just playing a local file called track.ogg, here is the code: http://paste.ubuntu.com/15914337/ I have also attached a .click if you want to try just that, or if you want the complete source here: lp:~om26er/+junk/media_player_blocking

FWIW, the default music player app is also affected.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.