diff --git a/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m b/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m index 60d4e57418..d1be4697f5 100644 --- a/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m +++ b/gst-libs/gst/gl/cocoa/gstglwindow_cocoa.m @@ -438,17 +438,6 @@ gst_gl_window_cocoa_send_message_async (GstGLWindow * window, [self orderOut:window_cocoa->priv->internal_win_id]; - if (window_cocoa->priv->external_view) { - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - NSView *view = [window_cocoa->priv->internal_win_id contentView]; - - [window_cocoa->priv->external_view addSubview: view]; - [view setFrame: [window_cocoa->priv->external_view bounds]]; - [view setAutoresizingMask: NSViewWidthSizable|NSViewHeightSizable]; - - [pool release]; - } - return self; }