Commit 696e5db0 authored by David Fuhrmann's avatar David Fuhrmann

vout_macosx: add error messages on failure

parent 7111671f
......@@ -173,7 +173,7 @@ static int Open (vlc_object_t *this)
container = sys->embed->handle.nsobject;
if (!container) {
msg_Dbg(vd, "No drawable-nsobject nor vout_window_t found, passing over.");
msg_Err(vd, "No drawable-nsobject nor vout_window_t found, passing over.");
goto error;
}
}
......@@ -220,6 +220,7 @@ static int Open (vlc_object_t *this)
sys->vgl = vout_display_opengl_New (&vd->fmt, &subpicture_chromas, &sys->gl);
if (!sys->vgl) {
msg_Err(vd, "Error while initializing opengl display.");
sys->gl.sys = NULL;
goto error;
}
......
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