That's kind of a strange place for it but I'm sure that there is some good reason for it (or that may just be my naivety in regards to the code base - it could be held together with duct tape for all I know). I would have thought that it would live above the level of the output modules, in pre/post playback code (given that I know nothing about the structure or flow of VLC I don't really know if what I'm saying makes sense or is appropriate).Power saving code is currently in each video output module, so if any program uses those, the issues will also show up in them also.
Once a screen saver is chosen, Windows monitors keystrokes and mouse movements and then starts the screen saver after a period of inactivity. However, Windows does not start the screen saver if any of the following conditions exist:
The active application is not a Windows-based application.
A computer-based training (CBT) window is present.
The active application receives the WM_SYSCOMMAND message with the wParam parameter set to the SC_SCREENSAVE value, but it does not pass the message to the DefWindowProc function.
Code: Select all
SystemParametersInfo( SPI_SETSCREENSAVEACTIVE, FALSE, 0, SPIF_SENDWININICHANGE);
Code: Select all
SystemParametersInfo( SPI_SETSCREENSAVEACTIVE, TRUE, 0, SPIF_SENDWININICHANGE);
makes it clear that SC_SCREENSAVE isn't best solution.Windows Vista and later: If password protection is enabled by policy, the screen saver is started regardless of what an application does with the SC_SCREENSAVE notification.
Return to “VLC media player for Windows Troubleshooting”
Users browsing this forum: No registered users and 55 guests