[vlc-commits] Fix wrong test (cid #1049310)

Rémi Duraffort git at videolan.org
Tue Jul 23 10:19:41 CEST 2013


vlc/vlc-2.1 | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Jul 22 19:22:06 2013 +0200| [3bcf897debe23d979963776b1252bae562025429] | committer: Jean-Baptiste Kempf

Fix wrong test (cid #1049310)

(cherry picked from commit 9632f52e4fcf301c71c1fc3c4785baf9134aa5a5)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/control/hotkeys.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index 5645940..1b2ee42 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -964,7 +964,7 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
             {
                 char *psz_mode = var_GetString( p_vout, "deinterlace-mode" );
                 vlc_value_t vlist, tlist;
-                if( psz_mode && !var_Change( p_vout, "deinterlace-mode", VLC_VAR_GETCHOICES, &vlist, &tlist ) >= 0 )
+                if( psz_mode && !var_Change( p_vout, "deinterlace-mode", VLC_VAR_GETCHOICES, &vlist, &tlist ))
                 {
                     const char *psz_text = NULL;
                     int i;



More information about the vlc-commits mailing list