ffmpeg | branch: master | Thilo Borgmann <[email protected]> | Tue Sep 23 16:49:16 2014 +0200| [1ea7a3e04e42f686b53704193e60d0745681a959] | committer: Michael Niedermayer
lavd/avfoundation: Simplify debug message generation. Signed-off-by: Michael Niedermayer <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1ea7a3e04e42f686b53704193e60d0745681a959 --- 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]; _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
