git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ff0095
)
Read the correct type from the vlc value - fixes #1569
author
Rafaël Carré
<funman@videolan.org>
Mon, 5 May 2008 20:10:45 +0000
(22:10 +0200)
committer
Rafaël Carré
<funman@videolan.org>
Mon, 5 May 2008 20:10:45 +0000
(22:10 +0200)
modules/control/dbus.c
patch
|
blob
|
history
diff --git
a/modules/control/dbus.c
b/modules/control/dbus.c
index
481d615
..
e65ac8d
100644
(file)
--- a/
modules/control/dbus.c
+++ b/
modules/control/dbus.c
@@
-1152,14
+1152,11
@@
static int MarshalStatus( intf_thread_t* p_intf, DBusMessageIter* args,
i_state = 0;
}
- var_Get( p_playlist, "random", &val );
- i_random = val.i_int;
+ i_random = var_CreateGetBool( p_playlist, "random" );
- var_Get( p_playlist, "repeat", &val );
- i_repeat = val.i_int;
+ i_repeat = var_CreateGetBool( p_playlist, "repeat" );
- var_Get( p_playlist, "loop", &val );
- i_loop = val.i_int;
+ i_loop = var_CreateGetBool( p_playlist, "loop" );
if( lock )
PL_UNLOCK;