Playing audio file with embedded Art consumes way too much CPU
|Reported by:||miqlas||Owned by:||pulkomandy|
|Component:||Audio & Video/Codecs||Version:||R1/Development|
|Keywords:||MediaPlayer, playback, cpu,||Cc:|
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.)