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
2ad64d87
Commit
2ad64d87
authored
Jan 27, 2012
by
Jan Winter
Committed by
Jean-Baptiste Kempf
Feb 05, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OSX: NSDistributedNofitication is sent on playerStateChange
Signed-off-by:
Felix Paul Kühne
<
fkuehne@videolan.org
>
parent
c33a6b5e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
5 deletions
+15
-5
modules/gui/macosx/intf.h
modules/gui/macosx/intf.h
+1
-0
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+14
-5
No files found.
modules/gui/macosx/intf.h
View file @
2ad64d87
...
...
@@ -180,6 +180,7 @@ struct intf_sys_t
-
(
void
)
fullscreenChanged
;
-
(
void
)
PlaylistItemChanged
;
-
(
void
)
playbackStatusUpdated
;
-
(
void
)
sendDistributedNotificationWithUpdatedPlaybackStatus
;
-
(
void
)
playbackModeUpdated
;
-
(
void
)
updateVolume
;
-
(
void
)
updatePlaybackPosition
;
...
...
modules/gui/macosx/intf.m
View file @
2ad64d87
...
...
@@ -1484,6 +1484,15 @@ unsigned int CocoaKeyToVLC( unichar i_key )
}
[[
VLCMain
sharedInstance
]
performSelectorOnMainThread
:
@selector
(
updateMainWindow
)
withObject
:
nil
waitUntilDone
:
NO
];
[
self
performSelectorOnMainThread
:
@selector
(
sendDistributedNotificationWithUpdatedPlaybackStatus
)
withObject
:
nil
waitUntilDone
:
NO
];
}
-
(
void
)
sendDistributedNotificationWithUpdatedPlaybackStatus
{
[[
NSDistributedNotificationCenter
defaultCenter
]
postNotificationName
:
@"VLCPlayerStateDidChange"
object:
nil
userInfo:
nil
deliverImmediately:
YES
];
}
-
(
void
)
playbackModeUpdated
...
...
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