Commit d139f193 authored by David Fuhrmann's avatar David Fuhrmann

vout_macosx: add error messages on failure

(cherry picked from commit 696e5db02b5d7355a4576e2dd9176f9bf5961faa)

Conflicts:
	modules/video_output/macosx.m
parent c70a7e47
...@@ -168,7 +168,7 @@ static int Open (vlc_object_t *this) ...@@ -168,7 +168,7 @@ static int Open (vlc_object_t *this)
if (!container) 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; goto error;
} }
} }
...@@ -219,6 +219,7 @@ static int Open (vlc_object_t *this) ...@@ -219,6 +219,7 @@ static int Open (vlc_object_t *this)
sys->vgl = vout_display_opengl_New (&vd->fmt, &subpicture_chromas, &sys->gl); sys->vgl = vout_display_opengl_New (&vd->fmt, &subpicture_chromas, &sys->gl);
if (!sys->vgl) if (!sys->vgl)
{ {
msg_Err(vd, "Error while initializing opengl display.");
sys->gl.sys = NULL; sys->gl.sys = NULL;
goto error; 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