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
3d5ff7dc
Commit
3d5ff7dc
authored
Jan 04, 2009
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
64bit compilation fixes
parent
5858f0fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
modules/control/unimotion.c
modules/control/unimotion.c
+7
-2
modules/gui/macosx/vout.m
modules/gui/macosx/vout.m
+4
-0
No files found.
modules/control/unimotion.c
View file @
3d5ff7dc
...
...
@@ -138,8 +138,8 @@ static int probe_sms(int kernFunc, char *servMatch, int dataType, void *data)
io_object_t
aDevice
;
io_connect_t
dataPort
;
IOItemCoun
t
structureInputSize
;
IOByteCoun
t
structureOutputSize
;
size_
t
structureInputSize
;
size_
t
structureOutputSize
;
union
motion_data
inputStructure
;
union
motion_data
*
outputStructure
;
...
...
@@ -189,8 +189,13 @@ static int probe_sms(int kernFunc, char *servMatch, int dataType, void *data)
memset
(
&
inputStructure
,
0
,
sizeof
(
union
motion_data
));
memset
(
outputStructure
,
0
,
sizeof
(
union
motion_data
));
#ifdef __LP64__
result
=
IOConnectCallStructMethod
(
dataPort
,
kernFunc
,
&
inputStructure
,
structureInputSize
,
outputStructure
,
&
structureOutputSize
);
#else
result
=
IOConnectMethodStructureIStructureO
(
dataPort
,
kernFunc
,
structureInputSize
,
&
structureOutputSize
,
&
inputStructure
,
outputStructure
);
#endif
IOServiceClose
(
dataPort
);
...
...
modules/gui/macosx/vout.m
View file @
3d5ff7dc
...
...
@@ -37,6 +37,9 @@
/* BeginFullScreen, EndFullScreen */
#include <QuickTime/QuickTime.h>
/* prevent system sleep */
#import <CoreServices/CoreServices.h>
#include <vlc_keys.h>
#include "intf.h"
...
...
@@ -447,6 +450,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
if
(
!
VLCIntf
||
!
VLCIntf
->
p_sys
)
return
;
UInt8
UsrActivity
;
if
(
VLCIntf
->
p_sys
->
i_play_status
==
PLAYING_S
)
UpdateSystemActivity
(
UsrActivity
);
}
...
...
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