[FFmpeg-devel] [PATCH 3/5] lavd/avfoundation: Simplify debug message generation.
Thilo Borgmann
thilo.borgmann at mail.de
Wed Sep 24 12:43:10 CEST 2014
-------------- next part --------------
>From 8035a104e439bc17b3d734cd0476530b4cb4a310 Mon Sep 17 00:00:00 2001
From: Thilo Borgmann <thilo.borgmann at mail.de>
Date: Tue, 23 Sep 2014 16:49:16 +0200
Subject: [PATCH 3/5] lavd/avfoundation: Simplify debug message generation.
---
libavdevice/avfoundation.m | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m
index 207d5c9..5b1e694 100644
--- a/libavdevice/avfoundation.m
+++ b/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];
--
1.8.3.2
More information about the ffmpeg-devel
mailing list