[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
SMPlayer Support Forum • View topic - [PATCH] Better screensaver disabling

This forum is deprecated. Please visit https://github.com/smplayer-dev/smplayer/discussions

[PATCH] Better screensaver disabling

Forum to talk about the development of SMPlayer (code, patches...).

[PATCH] Better screensaver disabling

Postby Vavooon » Sat Sep 28, 2013 8:23 pm

Vavooon
 
Posts: 4
Joined: Sat Sep 28, 2013 7:00 pm

Re: [PATCH] Better screensaver disabling

Postby rvm » Sun Sep 29, 2013 2:11 am

Yes, there are two similar options. I think one of them didn't work well on some versions of windows so I added the other one.
But if your patch fixes the function for all versions of windows I will happily add it.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: [PATCH] Better screensaver disabling

Postby redxii » Sun Sep 29, 2013 7:35 am

User avatar
redxii
 
Posts: 520
Joined: Thu Dec 24, 2009 7:06 pm

Re: [PATCH] Better screensaver disabling

Postby Vavooon » Sun Sep 29, 2013 8:19 am

Vavooon
 
Posts: 4
Joined: Sat Sep 28, 2013 7:00 pm

Re: [PATCH] Better screensaver disabling

Postby redxii » Tue Oct 01, 2013 6:44 am

It didn't prevent SMPlayer from running on Windows 2000 even though SetThreadExecutionState needs a minimum of XP. Since we're using Qt 4.8.4 the minimum SMPlayer will run on is Win 2000 but MPlayer is a different story.
User avatar
redxii
 
Posts: 520
Joined: Thu Dec 24, 2009 7:06 pm

Re: [PATCH] Better screensaver disabling

Postby Vavooon » Fri Oct 04, 2013 7:33 am

So, will you pull my patch? It is important for me because previous screensaver disabling algorithm doesn`t work in my case.
I have read at the site that minimal supported Windows version is XP.
Vavooon
 
Posts: 4
Joined: Sat Sep 28, 2013 7:00 pm

Re: [PATCH] Better screensaver disabling

Postby rvm » Fri Oct 04, 2013 9:26 pm

Applied your patch in svn r5779.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: [PATCH] Better screensaver disabling

Postby redxii » Sun Oct 06, 2013 8:39 am

I'm having an issue, if I start a new video without stopping the current one the monitor won't be prevented from turning off. The screensaver itself stays off but not the monitor power off. I don't really use a screensaver per se, I only use the monitor power off setting. Doesn't matter if I drag/drop, recent files, or use the Open - File option, usually pressing Stop then restarting the video fixes it. Win 7 64-bit, occurs in 64-bit build and 32-bit portable build on my laptop and desktop.
User avatar
redxii
 
Posts: 520
Joined: Thu Dec 24, 2009 7:06 pm

Re: [PATCH] Better screensaver disabling

Postby rvm » Wed Oct 09, 2013 10:55 pm

I tried to fix the issue in r5787.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España


Return to Development

Who is online

Users browsing this forum: No registered users and 5 guests