[FFmpeg-devel] [PATCH 4/5] lavd/avfoundation: Simplify debug message generation.
Thilo Borgmann
thilo.borgmann at mail.de
Sun Apr 20 13:00:48 CEST 2014
-------------- next part --------------
>From 33e91ef61640b1328f832e6027e011d62801eb49 Mon Sep 17 00:00:00 2001
From: Thilo Borgmann <thilo.borgmann at mail.de>
Date: Sun, 20 Apr 2014 11:49:33 +0200
Subject: [PATCH 4/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 7f2f5b7..ac79945 100644
--- a/libavdevice/avfoundation.m
+++ b/libavdevice/avfoundation.m
@@ -294,8 +294,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