Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
360c0d94
Commit
360c0d94
authored
Jul 18, 2007
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
D-Bus: "org.mpris.vlc" adjustement.
Patch from Mirsal, as often.
parent
4261df82
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
NEWS
NEWS
+1
-1
src/libvlc-common.c
src/libvlc-common.c
+3
-3
No files found.
NEWS
View file @
360c0d94
...
...
@@ -96,7 +96,7 @@ Interfaces:
* Improved user interaction
* Improved mouse gestures
* Unix
* Allow only one running instance, using D-Bus interface
(experimental)
.
* Allow only one running instance, using D-Bus interface.
* D-Bus Interface (experimental) implements the MPRIS
(Media Player Remote Interfacing specification), a common dbus control
interface for media players that intends to become an xdg standard when
...
...
src/libvlc-common.c
View file @
360c0d94
...
...
@@ -605,13 +605,13 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc, char *ppsz_argv[] )
}
else
{
/* check if
a Media Player is available
/* check if
VLC is available on the bus
* if not: D-Bus control is not enabled on the other
* instance and we can't pass MRLs to it */
DBusMessage
*
p_test_msg
=
NULL
;
DBusMessage
*
p_test_reply
=
NULL
;
p_test_msg
=
dbus_message_new_method_call
(
"org.
freedesktop.MediaPlayer
"
,
"/"
,
"org.
mpris.vlc
"
,
"/"
,
"org.freedesktop.MediaPlayer"
,
"Identity"
);
/* block until a reply arrives */
p_test_reply
=
dbus_connection_send_with_reply_and_block
(
...
...
@@ -640,7 +640,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc, char *ppsz_argv[] )
ppsz_argv
[
i_input
]
);
p_dbus_msg
=
dbus_message_new_method_call
(
"org.
freedesktop.MediaPlayer
"
,
"/TrackList"
,
"org.
mpris.vlc
"
,
"/TrackList"
,
"org.freedesktop.MediaPlayer"
,
"AddTrack"
);
if
(
NULL
==
p_dbus_msg
)
...
...
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