小编mon*_*faw的帖子

videoMinFrameDuration已弃用

当我将Xcode从4.6更新为5.1时,'iM7中不推荐使用videoMinnFrameDuration'

- (void)setFrameRate:(NSInteger)frameRate;
 {
_frameRate = frameRate;

if (_frameRate > 0)
{
    for (AVCaptureConnection *connection in videoOutput.connections)
    {

        if ([connection respondsToSelector:@selector(setVideoMinFrameDuration:)])
            connection.videoMinFrameDuration = CMTimeMake(1,_frameRate);
Run Code Online (Sandbox Code Playgroud)

xcode objective-c gpuimage ios7

2
推荐指数
1
解决办法
3391
查看次数

标签 统计

gpuimage ×1

ios7 ×1

objective-c ×1

xcode ×1