]> git.sesse.net Git - vlc/commitdiff
motion: use pl_CurrentItem()
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 2 Jan 2014 22:06:26 +0000 (00:06 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 2 Jan 2014 22:23:03 +0000 (00:23 +0200)
modules/control/motion.c

index 5f58aaeea2b45a2b6778469e4b19ba30f26f4b36..8d74e89fa992897d3e0ab9bb6ba72224d9aaa90e 100644 (file)
@@ -160,9 +160,7 @@ static void *RunIntf( void *data )
         if( b_change )
         {
 #warning FIXME: refactor this plugin as a video filter!
-            input_thread_t *p_input;
-
-            p_input = playlist_CurrentInput( pl_Get( p_intf ) );
+            input_thread_t *p_input = pl_CurrentInput( p_intf );
             if( p_input )
             {
                 vout_thread_t *p_vout;