Commit 1ea7a3e0 authored by Thilo Borgmann's avatar Thilo Borgmann Committed by Michael Niedermayer

lavd/avfoundation: Simplify debug message generation.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 92827e18
......@@ -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];
......
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