Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
d213287b
Commit
d213287b
authored
Jan 22, 2013
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fixed compilation on 10.6
parent
8f844d9a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+4
-4
No files found.
modules/gui/macosx/intf.m
View file @
d213287b
...
...
@@ -1409,8 +1409,8 @@ static VLCMain *_o_sharedMainInstance = nil;
if
(
state
==
PLAYING_S
)
{
/* Declare user activity.
This wakes the display if it is off, and postpones display sleep according to the users system preferences
Available from 10.7.3
*/
Available from 10.7.3 */
#ifdef MAC_OS_X_VERSION_10_7
if
([
self
activeVideoPlayback
]
&&
IOPMAssertionDeclareUserActivity
)
{
CFStringRef
reasonForActivity
=
CFStringCreateWithCString
(
kCFAllocatorDefault
,
_
(
"VLC media playback"
),
kCFStringEncodingUTF8
);
...
...
@@ -1419,7 +1419,7 @@ static VLCMain *_o_sharedMainInstance = nil;
&
userActivityAssertionID
);
CFRelease
(
reasonForActivity
);
}
#endif
/* prevent the system from sleeping */
if
(
systemSleepAssertionID
>
0
)
{
...
...
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