[vlc-devel] [PATCH 2/9] dbus: fix MPRIS MediaPlayer2 interface properties

Victorien Le Couviour--Tuffet victorien.lecouviour.tuffet at gmail.com
Tue Nov 27 13:34:40 CET 2018


The user interface can be brought to the front, if present.
The MPRIS MediaPlayer2.TrackList interface is implemented.
---
 modules/control/dbus/dbus_root.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/control/dbus/dbus_root.c b/modules/control/dbus/dbus_root.c
index 2d998178e1..1d0861cc4b 100644
--- a/modules/control/dbus/dbus_root.c
+++ b/modules/control/dbus/dbus_root.c
@@ -135,7 +135,7 @@ static int
 MarshalCanRaise( intf_thread_t *p_intf, DBusMessageIter *container )
 {
     VLC_UNUSED( p_intf );
-    const dbus_bool_t b_ret = FALSE;
+    const dbus_bool_t b_ret = TRUE;
 
     if (!dbus_message_iter_append_basic( container, DBUS_TYPE_BOOLEAN, &b_ret ))
         return VLC_ENOMEM;
@@ -147,7 +147,7 @@ static int
 MarshalHasTrackList( intf_thread_t *p_intf, DBusMessageIter *container )
 {
     VLC_UNUSED( p_intf );
-    const dbus_bool_t b_ret = FALSE;
+    const dbus_bool_t b_ret = TRUE;
 
     if (!dbus_message_iter_append_basic( container, DBUS_TYPE_BOOLEAN, &b_ret ))
         return VLC_ENOMEM;
-- 
2.19.1



More information about the vlc-devel mailing list