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

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


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

vout_macosx: add error messages on failure
(cherry picked from commit 696e5db02b5d7355a4576e2dd9176f9bf5961faa)

Conflicts:
	modules/video_output/macosx.m

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

 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 6aca508..d9c0871 100644
--- a/modules/video_output/macosx.m
+++ b/modules/video_output/macosx.m
@@ -168,7 +168,7 @@ static int Open (vlc_object_t *this)
 
         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;
         }
     }
@@ -219,6 +219,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