Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
d20acdec
Commit
d20acdec
authored
May 26, 2012
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enabled screensaver for win32 opengl vout (close #426).
parent
003ba60d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/video_output/msw/common.c
modules/video_output/msw/common.c
+4
-4
No files found.
modules/video_output/msw/common.c
View file @
d20acdec
...
...
@@ -66,7 +66,7 @@
static
void
CommonChangeThumbnailClip
(
vout_display_t
*
,
bool
show
);
static
int
CommonControlSetFullscreen
(
vout_display_t
*
,
bool
is_fullscreen
);
#if !defined(UNDER_CE)
&& !defined(MODULE_NAME_IS_glwin32)
#if !defined(UNDER_CE)
static
void
DisableScreensaver
(
vout_display_t
*
);
static
void
RestoreScreensaver
(
vout_display_t
*
);
#endif
...
...
@@ -124,7 +124,7 @@ int CommonInit(vout_display_t *vd)
}
/* Why not with glwin32 */
#if !defined(UNDER_CE)
&& !defined(MODULE_NAME_IS_glwin32)
#if !defined(UNDER_CE)
var_Create
(
vd
,
"disable-screensaver"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
DisableScreensaver
(
vd
);
#endif
...
...
@@ -143,7 +143,7 @@ void CommonClean(vout_display_t *vd)
EventThreadDestroy
(
sys
->
event
);
}
#if !defined(UNDER_CE)
&& !defined(MODULE_NAME_IS_glwin32)
#if !defined(UNDER_CE)
RestoreScreensaver
(
vd
);
#endif
}
...
...
@@ -688,7 +688,7 @@ int CommonControl(vout_display_t *vd, int query, va_list args)
}
}
#if !defined(UNDER_CE)
&& !defined(MODULE_NAME_IS_glwin32)
#if !defined(UNDER_CE)
static
void
DisableScreensaver
(
vout_display_t
*
vd
)
{
vout_display_sys_t
*
sys
=
vd
->
sys
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment