Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
VLC-iOS
Commits
5b6d42c8
Commit
5b6d42c8
authored
Nov 19, 2013
by
Felix Paul Kühne
Browse files
playback: fix re-entrant playback from URL
parent
b2ad4df7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Sources/VLCMovieViewController.m
View file @
5b6d42c8
...
...
@@ -105,12 +105,11 @@
-
(
void
)
setUrl
:(
NSURL
*
)
url
{
if
(
_url
!=
url
)
{
[
self
_stopPlayback
];
_url
=
url
;
if
(
_viewAppeared
)
[
self
_startPlayback
];
}
[
self
_stopPlayback
];
_url
=
url
;
_playerIsSetup
=
NO
;
if
(
_viewAppeared
)
[
self
_startPlayback
];
}
-
(
void
)
viewDidLoad
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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