Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
VLC-iOS
Commits
9501fbbf
Commit
9501fbbf
authored
Apr 04, 2015
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correctly close playback view prior to re-starting it
parent
1b467954
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
Sources/VLCAppDelegate.m
Sources/VLCAppDelegate.m
+2
-0
Sources/VLCMovieViewController.h
Sources/VLCMovieViewController.h
+1
-0
Sources/VLCMovieViewController.m
Sources/VLCMovieViewController.m
+6
-0
No files found.
Sources/VLCAppDelegate.m
View file @
9501fbbf
...
...
@@ -502,6 +502,8 @@
{
if
(
!
_movieViewController
)
_movieViewController
=
[[
VLCMovieViewController
alloc
]
initWithNibName
:
nil
bundle
:
nil
];
else
[
_movieViewController
unanimatedPlaybackStop
];
if
([
mediaObject
isKindOfClass
:[
MLFile
class
]])
_movieViewController
.
fileFromMediaLibrary
=
(
MLFile
*
)
mediaObject
;
...
...
Sources/VLCMovieViewController.h
View file @
9501fbbf
...
...
@@ -93,6 +93,7 @@
@property
(
nonatomic
,
readwrite
)
int
itemInMediaListToBePlayedFirst
;
-
(
IBAction
)
closePlayback
:(
id
)
sender
;
-
(
void
)
unanimatedPlaybackStop
;
-
(
IBAction
)
positionSliderAction
:(
id
)
sender
;
-
(
IBAction
)
positionSliderTouchDown
:(
id
)
sender
;
...
...
Sources/VLCMovieViewController.m
View file @
9501fbbf
...
...
@@ -1270,6 +1270,12 @@ static inline NSArray * RemoteCommandCenterCommandsToHandle(MPRemoteCommandCente
}];
}
-
(
void
)
unanimatedPlaybackStop
{
[
self
_stopPlayback
];
[
self
.
navigationController
dismissViewControllerAnimated
:
NO
completion
:
nil
];
}
-
(
IBAction
)
positionSliderAction
:(
UISlider
*
)
sender
{
LOCKCHECK
;
...
...
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