CocoaでAVFoundationを使うサンプル
Revisión | e6b569dd1294e8c8b8c74c41a832a73eca6a9f21 (tree) |
---|---|
Tiempo | 2012-06-11 23:37:51 |
Autor | Hori <masaki@MBP....> |
Commiter | Hori |
起こらないけど、変更した時のために
@@ -198,6 +198,7 @@ | ||
198 | 198 | AVPlayerLayer *layer = [AVPlayerLayer playerLayerWithPlayer:_player]; |
199 | 199 | [_view setWantsLayer:YES]; |
200 | 200 | [_view setLayer:layer]; |
201 | + self.captionLayer = nil; | |
201 | 202 | } |
202 | 203 | - (void)setCaption:(NSString *)caption |
203 | 204 | { |