Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
2cd7ae24
Commit
2cd7ae24
authored
Jan 07, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MacOSX/Framework/VLCMediaPlayer.m: Don't put code that should be in libvlc in the framework.
parent
d591dcc0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
extras/MacOSX/Framework/Sources/VLCMediaPlayer.m
extras/MacOSX/Framework/Sources/VLCMediaPlayer.m
+1
-10
No files found.
extras/MacOSX/Framework/Sources/VLCMediaPlayer.m
View file @
2cd7ae24
...
...
@@ -402,15 +402,6 @@ static void HandleMediaInstanceStateChanged(const libvlc_event_t * event, void *
if
(
media
&&
[
media
compare
:
value
]
==
NSOrderedSame
)
return
;
BOOL
wasPlaying
;
if
(
wasPlaying
=
[
self
isPlaying
])
{
[
self
pause
];
// // TODO: Should we wait until it stops playing?
// while ([self isPlaying])
// usleep(1000);
}
[
media
release
];
media
=
[
value
retain
];
...
...
@@ -475,7 +466,7 @@ static void HandleMediaInstanceStateChanged(const libvlc_event_t * event, void *
* and tries to recontact us on the main thread */
/* FIXME: to do this properly we need to do some locking. We may want
* to move that to libvlc */
[
self
performSelectorInBackground
:
@selector
(
pause
)
withObject
:
nil
];
[
self
performSelectorInBackground
:
@selector
(
stop
)
withObject
:
nil
];
return
;
}
...
...
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