[vlc-devel] commit: dbus: fix the repeat signal. ( Rémi Duraffort )
git version control
git at videolan.org
Sat Mar 21 08:59:50 CET 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sat Mar 21 08:38:02 2009 +0100| [f1238847054c4fd56834739ff921cd36dbc8bdf9] | committer: Rémi Duraffort
dbus: fix the repeat signal.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f1238847054c4fd56834739ff921cd36dbc8bdf9
---
modules/control/dbus.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/modules/control/dbus.c b/modules/control/dbus.c
index 8d6a45c..a007daf 100644
--- a/modules/control/dbus.c
+++ b/modules/control/dbus.c
@@ -3,6 +3,7 @@
*****************************************************************************
* Copyright © 2006-2008 Rafaël Carré
* Copyright © 2007-2008 Mirsal Ennaime
+ * Copyright © 2009 The VideoLAN team
* $Id$
*
* Authors: Rafaël Carré <funman at videolanorg>
@@ -50,8 +51,6 @@
#include <vlc_plugin.h>
#include <vlc_aout.h>
#include <vlc_interface.h>
-#include <vlc_meta.h>
-#include <vlc_input.h>
#include <vlc_playlist.h>
#include <math.h>
@@ -100,6 +99,7 @@ enum
SIGNAL_PLAYLIST_ITEM_APPEND,
SIGNAL_PLAYLIST_ITEM_DELETED,
SIGNAL_RANDOM,
+ SIGNAL_REPEAT,
SIGNAL_LOOP,
SIGNAL_STATE
};
@@ -849,8 +849,8 @@ static void Run ( intf_thread_t *p_intf )
TrackListChangeEmit( p_intf, info->signal, info->i_node );
break;
case SIGNAL_RANDOM:
+ case SIGNAL_REPEAT:
case SIGNAL_LOOP:
- case SIGNAL_STATE:
StatusChangeEmit( p_intf );
break;
default:
@@ -891,10 +891,10 @@ static int AllCallback( vlc_object_t *p_this, const char *psz_var,
info->signal = SIGNAL_PLAYLIST_ITEM_DELETED;
else if( !strcmp( "random", psz_var ) )
info->signal = SIGNAL_RANDOM;
+ else if( !strcmp( "repeat", psz_var ) )
+ info->signal = SIGNAL_REPEAT;
else if( !strcmp( "loop", psz_var ) )
info->signal = SIGNAL_LOOP;
- else if( !strcmp( "state", psz_var ) )
- info->signal = SIGNAL_STATE;
else
assert(0);
More information about the vlc-devel
mailing list