Commit ebc34a37 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

MacOSX/Framework/VLCVideoCommon.m: Previous commit is crashy. Remove it, until...

MacOSX/Framework/VLCVideoCommon.m: Previous commit is crashy. Remove it, until we find a proper solution.
parent 75058739
...@@ -41,9 +41,6 @@ ...@@ -41,9 +41,6 @@
- (void)layoutSublayersOfLayer:(CALayer *)layer - (void)layoutSublayersOfLayer:(CALayer *)layer
{ {
[CATransaction begin];
[CATransaction setValue:[NSNumber numberWithBool:YES] forKey:kCATransactionDisableActions];
/* After having done everything normally resize the vlcopengllayer */ /* After having done everything normally resize the vlcopengllayer */
if( [[layer sublayers] count] > 0 && [[[[layer sublayers] objectAtIndex:0] name] isEqualToString:@"vlcopengllayer"]) if( [[layer sublayers] count] > 0 && [[[[layer sublayers] objectAtIndex:0] name] isEqualToString:@"vlcopengllayer"])
{ {
...@@ -62,7 +59,5 @@ ...@@ -62,7 +59,5 @@
videolayer.frame = videoRect; videolayer.frame = videoRect;
} }
[CATransaction commit];
} }
@end @end
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