摘要: 运行后,首先报的错需要改 -fno-objc-arc 编译后出现的新的错。 需要将 CustomVideoPlayer.mm _lastFrameTimestamp = _curFrameTimestamp; curTex = CMVideoSampling_SampleBuffer(&_video 阅读全文
posted @ 2018-04-10 16:52 chihbun 阅读(582) 评论(0) 推荐(0) 编辑
摘要: setObject:forked:中object是不能够为nil的,不然会报错。 setValue:forKey:中value能够为nil,但是当value为nil的时候,会自动调用removeObject:forKey方法。 setValue:forKey:中key的参数只能够是NSString类 阅读全文
posted @ 2018-04-10 09:51 chihbun 阅读(148) 评论(0) 推荐(0) 编辑