Commit 7acee25e authored by Felix Paul Kühne's avatar Felix Paul Kühne

Fix compilation warnings

parent 8db0d20b
......@@ -73,11 +73,11 @@
}
#pragma mark - VLCMediaListDelegate
- (void)mediaList:(VLCMediaList *)aMediaList mediaAdded:(VLCMedia *)media atIndex:(NSInteger)index
- (void)mediaList:(VLCMediaList *)aMediaList mediaAdded:(VLCMedia *)media atIndex:(NSUInteger)index
{
[self.delegate localNetworkServiceBrowserDidUpdateServices:self];
}
- (void)mediaList:(VLCMediaList *)aMediaList mediaRemovedAtIndex:(NSInteger)index
- (void)mediaList:(VLCMediaList *)aMediaList mediaRemovedAtIndex:(NSUInteger)index
{
[self.delegate localNetworkServiceBrowserDidUpdateServices:self];
}
......
......@@ -86,7 +86,7 @@
#pragma mark - media list delegate
- (void)mediaList:(VLCMediaList *)aMediaList mediaAdded:(VLCMedia *)media atIndex:(NSInteger)index
- (void)mediaList:(VLCMediaList *)aMediaList mediaAdded:(VLCMedia *)media atIndex:(NSUInteger)index
{
[media addOptions:self.mediaOptions];
if (![self shouldFilterMedia:media]) {
......@@ -98,7 +98,7 @@
[self.delegate networkServerBrowserDidUpdate:self];
}
- (void)mediaList:(VLCMediaList *)aMediaList mediaRemovedAtIndex:(NSInteger)index
- (void)mediaList:(VLCMediaList *)aMediaList mediaRemovedAtIndex:(NSUInteger)index
{
VLCMedia *media = [self.mediaListUnfiltered mediaAtIndex:index];
NSInteger mediaIndex = [self.mediaList indexOfMedia:media];
......
......@@ -19,7 +19,9 @@
@interface VLCBoxController : VLCCloudStorageController
- (void)stopSession;
- (void)downloadFileToDocumentFolder:(BoxFile *)file;
- (BOOL)hasMoreFiles;
#if TARGET_OS_IOS
- (void)downloadFileToDocumentFolder:(BoxFile *)file;
#endif
@end
......@@ -728,10 +728,13 @@ typedef NS_ENUM(NSUInteger, VLCAspectRatio) {
/* on-the-fly values through hidden API */
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wundeclared-selector"
[_mediaPlayer performSelector:@selector(setTextRendererFont:) withObject:[defaults objectForKey:kVLCSettingSubtitlesFont]];
[_mediaPlayer performSelector:@selector(setTextRendererFontSize:) withObject:[defaults objectForKey:kVLCSettingSubtitlesFontSize]];
[_mediaPlayer performSelector:@selector(setTextRendererFontColor:) withObject:[defaults objectForKey:kVLCSettingSubtitlesFontColor]];
[_mediaPlayer performSelector:@selector(setTextRendererFontForceBold:) withObject:[defaults objectForKey:kVLCSettingSubtitlesBoldFont]];
#pragma clang diagnostic pop
} break;
case VLCMediaPlayerStateError: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment