[vlc-commits] Fix one-instance
Rafaël Carré
git at videolan.org
Fri May 20 22:13:10 CEST 2011
vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Fri May 20 03:29:44 2011 -0400| [0a1d50315b592f9284f3a58a98645fdef3cbbbff] | committer: Rafaël Carré
Fix one-instance
Identity is not a method but a property
"" is not a valid object path
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0a1d50315b592f9284f3a58a98645fdef3cbbbff
---
src/libvlc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/libvlc.c b/src/libvlc.c
index d26b0d1..33fa6e5 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -538,7 +538,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
p_test_msg = dbus_message_new_method_call(
"org.mpris.MediaPlayer2.vlc", "/org/mpris/MediaPlayer2",
- "org.mpris.MediaPlayer2", "Identity" );
+ "org.freedesktop.DBus.Introspectable", "Introspect" );
/* block until a reply arrives */
p_test_reply = dbus_connection_send_with_reply_and_block(
@@ -573,7 +573,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
/* We need to resolve relative paths in this instance */
char *psz_mrl = make_URI( ppsz_argv[i_input], NULL );
- char *psz_after_track = "";
+ char *psz_after_track = "/";
if( psz_mrl == NULL )
continue;
More information about the vlc-commits
mailing list