Commit 2c015485 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

vlckit: Fix a warning.

parent 0ff1041a
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
[layoutManager setOriginalVideoSize:aLayer.bounds.size]; [layoutManager setOriginalVideoSize:aLayer.bounds.size];
[rootLayer setLayoutManager:layoutManager]; [rootLayer setLayoutManager:layoutManager];
[rootLayer insertSublayer:aLayer atIndex:0]; [rootLayer insertSublayer:aLayer atIndex:0];
[self setNeedsDisplayOnBoundsChange:YES]; [aLayer setNeedsDisplayOnBoundsChange:YES];
[CATransaction commit]; [CATransaction commit];
self.hasVideo = YES; self.hasVideo = YES;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment