lavd/avfoundation: Simplify debug message generation.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
92827e1869
commit
1ea7a3e04e
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user