[vlc-devel] commit: hotkeys: Properly set seekable. (Pierre d'Herbemont )

git version control git at videolan.org
Sat Aug 2 03:46:37 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Aug  2 03:38:46 2008 +0200| [04804702d97e0667fdf05ed3ceeae6759fe732d4] | committer: Pierre d'Herbemont 

hotkeys: Properly set seekable.

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

 modules/control/hotkeys.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index 1ba9979..f79b0ea 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -397,11 +397,7 @@ static void Run( intf_thread_t *p_intf )
         /* Input options */
         else if( p_input )
         {
-            /* FIXME --fenrir
-             * How to get a valid value ?
-             * That's not that easy with some special stream
-             */
-            bool b_seekable = true;
+            bool b_seekable = var_GetBool( p_input, "seekable" );
             int i_interval =0;
 
             if( i_action == ACTIONID_PAUSE )




More information about the vlc-devel mailing list