lavd/avfoundation: Simplify debug message generation.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/86/head
Thilo Borgmann 10 years ago committed by Michael Niedermayer
parent 92827e1869
commit 1ea7a3e04e
  1. 3
      libavdevice/avfoundation.m

@ -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…
Cancel
Save