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
0f2b1584
Commit
0f2b1584
authored
Mar 09, 2018
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playback controller: suppress deprecation warning as we can't use the modern replacement yet
(cherry picked from commit
0bd19c8c
)
parent
15ecc563
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Sources/VLCPlaybackController.m
Sources/VLCPlaybackController.m
+4
-0
No files found.
Sources/VLCPlaybackController.m
View file @
0f2b1584
...
...
@@ -294,10 +294,14 @@ typedef NS_ENUM(NSUInteger, VLCAspectRatio) {
_playerIsSetup
=
NO
;
[
_shuffleStack
removeAllObjects
];
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
/* UIApplication's replacement calls require iOS 10 or later, which we can't enforce as of yet */
if
(
_errorCallback
&&
_mediaPlayer
.
state
==
VLCMediaPlayerStateError
&&
!
_sessionWillRestart
)
[[
UIApplication
sharedApplication
]
openURL
:
_errorCallback
];
else
if
(
_successCallback
&&
!
_sessionWillRestart
)
[[
UIApplication
sharedApplication
]
openURL
:
_successCallback
];
#pragma clang diagnostic pop
[[
self
remoteControlService
]
unsubscribeFromRemoteCommands
];
...
...
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