[vlc-devel] commit: Small fix for DVD menus. (Jean-Baptiste Kempf )

git version control git at videolan.org
Fri Jun 6 03:24:32 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Jun  5 18:25:21 2008 -0700| [8e95f585aa1986e02153ed407abf00d998d8af3b]

Small fix for DVD menus.

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

 modules/gui/qt4/input_manager.cpp |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index 7804b9c..047de61 100644
--- a/modules/gui/qt4/input_manager.cpp
+++ b/modules/gui/qt4/input_manager.cpp
@@ -383,7 +383,10 @@ void InputManager::sectionNext()
 void InputManager::sectionMenu()
 {
     if( hasInput() )
-        var_SetInteger( p_input, "title 0", 2 );
+    {
+        vlc_value_t val; val.i_int = 2;
+        var_Set( p_input, "title  0", val );
+    }
 }
 
 #ifdef ZVBI_COMPILED




More information about the vlc-devel mailing list