[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:32 CEST 2009


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

Avoid late extra error message if globalhoykeys fail (fixes: #3034)
(cherry picked from commit 1861697046bdeda9a0165f6f5f771c65612e7a97)

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

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

diff --git a/bin/vlc.c b/bin/vlc.c
index 55f7c5f..b0f9c4b 100644
--- a/bin/vlc.c
+++ b/bin/vlc.c
@@ -152,6 +152,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