[Ffmpeg-devel] [PATCH] Detection of maemo libraries (Nokia 770) in configure and display blanking prevention

Siarhei Siamashka siarhei.siamashka
Thu Oct 12 08:27:59 CEST 2006


Here is a patch which adds detection of maemo specific libraries
(http://www.maemo.org) in mplayer configure.

The first library 'libosso' contains power management functions (needed for
prevention of display turning off after some time of inactivity). The second
library 'libXsp' contains X server extensions for Nokia 770 specific hardware
acceleration (2x scaling). Both of these libraries are currently used in maemo
port of MPlayer: http://mplayer.garage.maemo.org/
Applying it will help to keep up with ever changing MPlayer configure script
in maemo port and make it easier to upgrade to a coming 1.0rc1 release :)

Another patch 'n770-display-blanking-prevention-broken.diff' adds actual
display blanking prevention, but it is not clean and more like a hack (adds
extra thread, can't be disabled with a command line option, works
unconditionally also when only audio playback is required). So it still 
needs to be fixed, but I'm taking timeout with it till weekend (too busy with
work). Comments about adding it properly are welcome though. Is it worth
adding  an extra option similar to '-stop-xscreensaver'? I noticed that some
platforms also use some code related to dealing with screensavers, but in
video output modules. On Nokia 770 this feature is related to power
management, so it does not belong to video output (and could be used 
together with -vo x11 or -vo sdl or whatever else).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure-maemo-detection.diff
Type: text/x-diff
Size: 2169 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20061012/73f3f54c/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: n770-display-blanking-prevention-broken.diff
Type: text/x-diff
Size: 952 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20061012/73f3f54c/attachment-0001.diff>

More information about the ffmpeg-devel mailing list