Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
2828d7d1
Commit
2828d7d1
authored
May 13, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DBus : missing return argument for AddTrack
parent
8e18f5c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
modules/control/dbus.c
modules/control/dbus.c
+4
-0
modules/control/dbus.h
modules/control/dbus.h
+1
-0
No files found.
modules/control/dbus.c
View file @
2828d7d1
...
...
@@ -382,6 +382,7 @@ DBUS_METHOD( Identity )
DBUS_METHOD
(
AddTrack
)
{
/* add the string to the playlist, and play it if the boolean is true */
REPLY_INIT
;
OUT_ARGUMENTS
;
DBusError
error
;
dbus_error_init
(
&
error
);
...
...
@@ -409,6 +410,9 @@ DBUS_METHOD( AddTrack )
PLAYLIST_END
,
true
,
false
);
pl_Release
(
p_playlist
);
dbus_int32_t
i_success
=
0
;
ADD_INT32
(
&
i_success
);
REPLY_SEND
;
}
...
...
modules/control/dbus.h
View file @
2828d7d1
...
...
@@ -177,6 +177,7 @@ const char* psz_introspection_xml_data_tracklist =
" <method name=
\"
AddTrack
\"
>
\n
"
" <arg type=
\"
s
\"
direction=
\"
in
\"
/>
\n
"
" <arg type=
\"
b
\"
direction=
\"
in
\"
/>
\n
"
" <arg type=
\"
i
\"
direction=
\"
out
\"
/>
\n
"
" </method>
\n
"
" <method name=
\"
DelTrack
\"
>
\n
"
" <arg type=
\"
i
\"
direction=
\"
in
\"
/>
\n
"
...
...
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