]> git.sesse.net Git - vlc/commitdiff
Seems that title-callback weren't called afterall for dvd, should work
authorIlkka Ollakka <ileoo@videolan.org>
Tue, 22 Jan 2008 06:56:52 +0000 (06:56 +0000)
committerIlkka Ollakka <ileoo@videolan.org>
Tue, 22 Jan 2008 06:56:52 +0000 (06:56 +0000)
better now, thanks for j-b for spotting.

modules/gui/qt4/input_manager.cpp

index eeec9f6facacf035f0f85a01a8449643f553157d..a4f844cfd3bd6cfd30318de3be7d497460d6f459 100644 (file)
@@ -224,6 +224,7 @@ void InputManager::customEvent( QEvent *event )
     else if ( type == ItemChanged_Type )
     {
         UpdateMeta();
+        UpdateTitle();
     }
     else if ( type == ItemRateChanged_Type )
     {
@@ -255,6 +256,7 @@ void InputManager::UpdateTitle( void )
      /* Update navigation status */
      vlc_value_t val; val.i_int = 0;
      var_Change( p_input, "title", VLC_VAR_CHOICESCOUNT, &val, NULL );
+     msg_Dbg( p_intf, "updateTitle called" );
      if( val.i_int > 0 )
      {
          val.i_int = 0;