Skip to content

Commit

Permalink
lavd/avfoundation: Simplify debug message generation.
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
  • Loading branch information
thiloborgmann authored and michaelni committed Sep 26, 2014
1 parent 92827e1 commit 1ea7a3e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libavdevice/avfoundation.m
Expand Up @@ -384,8 +384,7 @@ static int avf_read_header(AVFormatContext *s)
}
}

NSString* dev_display_name = [video_device localizedName];
av_log(s, AV_LOG_DEBUG, "'%s' opened\n", [dev_display_name UTF8String]);
av_log(s, AV_LOG_DEBUG, "'%s' opened\n", [[video_device localizedName] UTF8String]);

// Initialize capture session
ctx->capture_session = [[AVCaptureSession alloc] init];
Expand Down

0 comments on commit 1ea7a3e

Please sign in to comment.