[haiku-bugs] [Haiku] #14681: Playing audio file with embedded Art consumes way too much CPU

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sun, 04 Nov 2018 19:18:07 -0000

#14681: Playing audio file with embedded Art consumes way too much CPU
-----------------------------------------+------------------------------
 Reporter:  miqlas                       |        Owner:  nobody
     Type:  bug                          |       Status:  new
 Priority:  normal                       |    Milestone:  Unscheduled
Component:  - General                    |      Version:  R1/Development
 Keywords:  MediaPlayer, playback, cpu,  |   Blocked By:
 Blocking:                               |  Has a Patch:  0
 Platform:  All                          |
-----------------------------------------+------------------------------
 Happens on b1 and on hrev52467, 64 bit.
 Since the patches from waddlesplash it happens not so frequently, but the
 problem still exists.

 Happen with not yet played files.
 Stopping and playing solves the problem.
 Closing MPlayer also solves the problem
 Even if the file was played once, the bug can resurface again randonmly
 with low canche
 Comparing the threads while MediaPlayer plays the same file shows: the
 "frame_generator" is the rebel thread.

 It seems the "Media:Frame" is the problem. If a sound file doesn't
 triggers the symptoms, just remove it like:  rmattr "Media:Frame"
 filename.mp3 and  it will trigger the bug (not always at the first try,
 for me it kicks in on the second play, idk, why.)

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14681>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: