FS#9046 - jpegviewer can corrupt audiobuffer

Attached to Project: Rockbox
Opened by PaulJam (PaulJam) - Tuesday, 27 May 2008, 19:44 GMT
Last edited by Jonathan Gordon (jdgordon) - Monday, 16 June 2008, 02:52 GMT
Task Type Bugs
Category Plugins
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


When you open a jpeg file when audio is stopped then the jpegviewer uses the audiobuffer in addition to the plugin memory, but it is still possible to start the audioplayback through the "Show Playback Menu" entry of the plugin. Then the jpegviewer and playback engine use the same memoryareas to store their data which leads to unpredictable behavior (and interesting colours).

This could be prevented by hiding the playback control from the menu when the jpegviewer uses the audiobuffer.

H300 r17636
This task depends upon

Closed by  Jonathan Gordon (jdgordon)
Monday, 16 June 2008, 02:52 GMT
Reason for closing:  Fixed