Not logged in. · Lost password · Register
Forum: Feature requests RSS
Liberating Full Screen
Computer sleep mode
domtardif #1
Member since Nov 2008 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: Liberating Full Screen
I'm guessing I'm not the only one who has a habit of falling asleep in front of the TV; Sadly, when you watch a video in fullscreen, Windows (or something) disables the screensaver/sleep mode. Pretty practical when you're watching... but it would be nice that after a fullscreen video ends, MythTV player would close the fullscreen automatically in order to let the computer fall into sleep mode.
Lomion (Moderator) #2
Member since Jan 2009 · 41 posts · Location: Vienna, Austria
Group memberships: Global Moderators, Members
Show profile · Link to this post
With 0.5.0 the screensaver should be enabled after stopping the Stream. Give it a try ;-)

To get the Player to switch back to windowed mode you need the following change:
Index: VideoDecoder.cpp
===================================================================
--- VideoDecoder.cpp    (revision 201)
+++ VideoDecoder.cpp    (working copy)

@@ -371,6 +368,8 @@
        LOG_INFO("Stopping thread");
        Thread::stop();
        vfQueue->stop();
+       if(videoRender->isFullscreen())
+          videoRender->fullscreenToggle();
        videoRender->pause();
        wait();
        LOG_INFO("Flushing");
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please note the verification code from the picture into the text field next to it.
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
This board is powered by the Unclassified NewsBoard software, 20100516-dev, © 2003-10 by Yves Goergen
Page created in 196.9 ms (63.4 ms) · 36 database queries in 70.1 ms
Current time: 2012-02-06, 18:48:27 (UTC +01:00)