[vlc-devel] commit: Avoid late extra error message if globalhoykeys fail (fixes: #3034) ( Rémi Denis-Courmont )

git version control git at videolan.org
Sat Aug 8 11:31:17 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Aug  8 12:30:10 2009 +0300| [1861697046bdeda9a0165f6f5f771c65612e7a97] | committer: Rémi Denis-Courmont 

Avoid late extra error message if globalhoykeys fail (fixes: #3034)

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

 bin/vlc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/bin/vlc.c b/bin/vlc.c
index 5ca5a16..610da47 100644
--- a/bin/vlc.c
+++ b/bin/vlc.c
@@ -158,6 +158,7 @@ int main( int i_argc, const char *ppsz_argv[] )
             pthread_sigmask (SIG_UNBLOCK, &set, NULL);
         }
         libvlc_add_intf (vlc, "globalhotkeys,none", &ex);
+        libvlc_exception_clear (&ex);
         libvlc_add_intf (vlc, NULL, &ex);
         libvlc_playlist_play (vlc, -1, 0, NULL, &dummy);
         libvlc_wait (vlc);




More information about the vlc-devel mailing list