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
50459be7
Commit
50459be7
authored
Nov 26, 2006
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix dbus compilation
parent
ea82a404
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
modules/control/dbus.c
modules/control/dbus.c
+8
-7
No files found.
modules/control/dbus.c
View file @
50459be7
...
@@ -56,6 +56,7 @@
...
@@ -56,6 +56,7 @@
#include <vlc_interface.h>
#include <vlc_interface.h>
#include <vlc_meta.h>
#include <vlc_meta.h>
#include <vlc_input.h>
#include <vlc_input.h>
#include <vlc_playlist.h>
/*****************************************************************************
/*****************************************************************************
* Local prototypes.
* Local prototypes.
...
@@ -235,7 +236,7 @@ DBUS_METHOD( GetPlayingItem )
...
@@ -235,7 +236,7 @@ DBUS_METHOD( GetPlayingItem )
char
*
p_psz_no_input
=
&
psz_no_input
;
char
*
p_psz_no_input
=
&
psz_no_input
;
playlist_t
*
p_playlist
=
pl_Yield
(
((
vlc_object_t
*
)
p_this
)
);
playlist_t
*
p_playlist
=
pl_Yield
(
((
vlc_object_t
*
)
p_this
)
);
input_thread_t
*
p_input
=
p_playlist
->
p_input
;
input_thread_t
*
p_input
=
p_playlist
->
p_input
;
ADD_STRING
(
(
p_input
)
?
&
p_input
->
input
.
p_item
->
psz_name
:
ADD_STRING
(
(
p_input
)
?
&
input_GetItem
(
p_input
)
->
psz_name
:
&
p_psz_no_input
);
&
p_psz_no_input
);
pl_Release
(
((
vlc_object_t
*
)
p_this
)
);
pl_Release
(
((
vlc_object_t
*
)
p_this
)
);
REPLY_SEND
;
REPLY_SEND
;
...
@@ -475,7 +476,7 @@ DBUS_SIGNAL( ItemChangeSignal )
...
@@ -475,7 +476,7 @@ DBUS_SIGNAL( ItemChangeSignal )
OUT_ARGUMENTS
;
OUT_ARGUMENTS
;
input_thread_t
*
p_input
=
(
input_thread_t
*
)
p_data
;
input_thread_t
*
p_input
=
(
input_thread_t
*
)
p_data
;
ADD_STRING
(
&
p_input
->
input
.
p_item
->
psz_name
);
ADD_STRING
(
&
input_GetItem
(
p_input
)
->
psz_name
);
SIGNAL_SEND
;
SIGNAL_SEND
;
}
}
...
...
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