Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
f1238847
Commit
f1238847
authored
Mar 21, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbus: fix the repeat signal.
parent
fe436b8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/control/dbus.c
modules/control/dbus.c
+5
-5
No files found.
modules/control/dbus.c
View file @
f1238847
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment