摘要: 以前编写【魔拍】应用的时候,发现一个问题,设置相机按每秒20帧的速度输出视频。开始时一切正常,但是切换摄像头后,帧率就变成动态的了且小于20帧/s。解决方式: [_captureSession stopRunning]; [_captureSession beginConfiguration]; [_captureSession removeInput:videoInput]; if ([_captureSession canAddInput:newVideoInput]){ videoInput =... 阅读全文
posted @ 2013-09-04 22:14 xiaopangjun 阅读(2473) 评论(0) 推荐(0) 编辑