Qt4 Return VLC_SUCCESS instead of 0
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 9 Sep 2007 17:34:33 +0000 (17:34 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 9 Sep 2007 17:34:33 +0000 (17:34 +0000)
modules/gui/qt4/input_manager.cpp

index 2a04b40..766a663 100644 (file)
@@ -332,7 +332,7 @@ static int ChangeAudio( vlc_object_t *p_this, const char *var, vlc_value_t o,
 {
     InputManager *im = (InputManager*)param;
     im->b_has_audio = true;
-    return 0;
+    return VLC_SUCCESS;
 }
 
 static int ChangeVideo( vlc_object_t *p_this, const char *var, vlc_value_t o,
@@ -340,5 +340,5 @@ static int ChangeVideo( vlc_object_t *p_this, const char *var, vlc_value_t o,
 {
     InputManager *im = (InputManager*)param;
     im->b_has_video = true;
-    return 0;
+    return VLC_SUCCESS;
 }