Description of problem: The display turns off while mplayer is playing video. If the timer is setted to 5 min, it turns off the display, after the screen is locked, but it's turning off the screen, even there is a running video player (like mplayer). Version-Release number of selected component (if applicable): 2.26.1 How reproducible: Always Steps to Reproduce: 1. Turn on the power saver display turn off function 2. Start to play a video with mplayer Actual results: The display is turning off after the pre-setted time. Expected results: It doesn't turning off. Additional info: Mplayer version: MPlayer 29092-4.4.0
mplayer needs to inhibit the session -- otherwise gnome-power-manager has no idea what's going on.
mplayer calls XScreenSaverSuspend when it starts playing, which inhibits a standard xscreensaver-compatible screensaver from running, but gnome-screensaver uses it's own system for other technical reasons. I think it would be good if it could support applications that use XScreenSaverSuspend though, see comment 2 on <https://bugzilla.gnome.org/show_bug.cgi?id=416429>.