osxwindow->width = width;
osxwindow->height = height;
osxwindow->closed = FALSE;
+ osxwindow->internal = FALSE;
/* Allocate our GstGLView for the window, and then tell the application
* about it (hopefully it's listening...) */
gst_osx_video_sink_call_from_main_thread(osxvideosink,
osxvideosink->osxwindow->gstview,
@selector(addToSuperview:), osxvideosink->superview, YES);
+ if (window_id) {
+ osxvideosink->osxwindow->internal = FALSE;
+ }
}
- if (window_id) {
- osxvideosink->osxwindow->internal = FALSE;
- }
}
static void