Commit 2abaf69c authored by David Fuhrmann's avatar David Fuhrmann

vout/macosx: add error if opengl view initialization failed

parent 17ef4df9
......@@ -183,8 +183,10 @@ static int Open (vlc_object_t *this)
nsPool = [[NSAutoreleasePool alloc] init];
[VLCOpenGLVideoView performSelectorOnMainThread:@selector(getNewView:) withObject:[NSValue valueWithPointer:&sys->glView] waitUntilDone:YES];
if (!sys->glView)
if (!sys->glView) {
msg_Err(vd, "Initialization of open gl view failed");
goto error;
}
[sys->glView setVoutDisplay:vd];
......
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