Commit 58b04763 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

macosx/framework: Remove this nasty hack, now that core is fixed.

parent abcd6bc8
......@@ -190,19 +190,6 @@
*/
- (void)addVoutSubview:(NSView *)aView /* (Scheduled to deletion) */
{
/* This is where the real video comes from */
if( [[self subviews] count] )
{
/* XXX: This is a hack until core gets fixed */
NSUInteger i;
for( i = 0; i < [[self subviews] count]; i++ )
{
[[[self subviews] objectAtIndex:i] detachFromVout];
[[[self subviews] objectAtIndex:i] retain];
[[[self subviews] objectAtIndex:i] removeFromSuperview];
}
}
[aView setFrame:[self bounds]];
[self addSubview:aView];
......
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