[vlc-commits] vout_macosx: add error messages on failure

David Fuhrmann git at videolan.org
Tue May 21 21:48:22 CEST 2013


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Tue May 21 21:47:31 2013 +0200| [696e5db02b5d7355a4576e2dd9176f9bf5961faa] | committer: David Fuhrmann

vout_macosx: add error messages on failure

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=696e5db02b5d7355a4576e2dd9176f9bf5961faa
---

 modules/video_output/macosx.m |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/video_output/macosx.m b/modules/video_output/macosx.m
index 20d11fd..8ec54b7 100644
--- a/modules/video_output/macosx.m
+++ b/modules/video_output/macosx.m
@@ -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;
     }



More information about the vlc-commits mailing list