Commit b47de273 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

vpc: add debug logging

parent 01f8b666
...@@ -187,8 +187,10 @@ NSString *const VLCPlaybackControllerPlaybackDidFail = @"VLCPlaybackControllerPl ...@@ -187,8 +187,10 @@ NSString *const VLCPlaybackControllerPlaybackDidFail = @"VLCPlaybackControllerPl
- (void)startPlayback - (void)startPlayback
{ {
if (_playerIsSetup) if (_playerIsSetup) {
APLog(@"%s: player is already setup, bailing out", __PRETTY_FUNCTION__);
return; return;
}
_activeSession = YES; _activeSession = YES;
#if TARGET_OS_IOS #if TARGET_OS_IOS
...@@ -200,6 +202,7 @@ NSString *const VLCPlaybackControllerPlaybackDidFail = @"VLCPlaybackControllerPl ...@@ -200,6 +202,7 @@ NSString *const VLCPlaybackControllerPlaybackDidFail = @"VLCPlaybackControllerPl
_aspectRatios = @[@"DEFAULT", @"FILL_TO_SCREEN", @"4:3", @"16:9", @"16:10", @"2.21:1"]; _aspectRatios = @[@"DEFAULT", @"FILL_TO_SCREEN", @"4:3", @"16:9", @"16:10", @"2.21:1"];
if (!self.url && !self.mediaList) { if (!self.url && !self.mediaList) {
APLog(@"%s: no URL and no media list set, stopping playback", __PRETTY_FUNCTION__);
[self stopPlayback]; [self stopPlayback];
return; return;
} }
......
Supports Markdown
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