[vlc-commits] motion: use pl_CurrentItem()
Rémi Denis-Courmont
git at videolan.org
Thu Jan 2 23:32:01 CET 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Jan 3 00:06:26 2014 +0200| [4a50968e61108734260bc648822546d315882715] | committer: Rémi Denis-Courmont
motion: use pl_CurrentItem()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4a50968e61108734260bc648822546d315882715
---
modules/control/motion.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/modules/control/motion.c b/modules/control/motion.c
index 5f58aae..8d74e89 100644
--- a/modules/control/motion.c
+++ b/modules/control/motion.c
@@ -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;
More information about the vlc-commits
mailing list