[vdr] Image display during mp3 replay / DeviceStillPicture

Lars von Wedel vonwedel at web.de
Sun Oct 2 11:03:42 CEST 2005


I want to display various (cover) images in Muggle during music replay. 
Thus, the background image displayed using DeviceStillPicture needs to 
be changed during replay.

The code I use is from the background cover patch for the mp3 plugin. It 
works fine, but the music replay is interrupted for a short period when 
the image changes. I suspect, that the sleep statement in the original 
code is responsible for this:

             if( the_setup.UseDeviceStillPicture )
                  DeviceStillPicture( buffer, sp.size );

In its original environment, the code is fine as the fragment above is 
executed before music replay starts. Removing the sleep statement makes 
the whole thing crash.

Any ideas, how I can display alternating background images while 
replaying music?


P.S. In case this is of help: I use vdr-1.3.33, kernel 2.6-11 with 
kernel drivers, firmware 261f, TT DVB-s rev1.5


More information about the vdr mailing list