]> git.sesse.net Git - vlc/commitdiff
* modules/control/hotkeys.c: don't display OSD slider if stream is not seekable...
authorYoann Peronneau <yoann@videolan.org>
Tue, 8 Jun 2004 21:53:23 +0000 (21:53 +0000)
committerYoann Peronneau <yoann@videolan.org>
Tue, 8 Jun 2004 21:53:23 +0000 (21:53 +0000)
modules/control/hotkeys.c

index deb6ce17fde3881b31863c325cd8f860ba55ac1b..4639d5b66dafb6a107270af4875b1b4e7ead6506 100755 (executable)
@@ -415,7 +415,7 @@ static void Run( intf_thread_t *p_intf )
                 vlc_value_t val; val.b_bool = VLC_TRUE;
                 var_Set( p_input, "rate-slower", val );
             }
-            else if( i_action == ACTIONID_POSITION )
+            else if( i_action == ACTIONID_POSITION && b_seekable )
             {
                 DisplayPosition( p_vout, p_input );
             }