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
79978963
Commit
79978963
authored
Jan 25, 2013
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oldrc: fix "playlist" and "snapshot"
parent
762a3d7f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
modules/control/rc.c
modules/control/rc.c
+9
-3
No files found.
modules/control/rc.c
View file @
79978963
...
...
@@ -624,8 +624,11 @@ static void *Run( void *data )
{
vlc_value_t
val
;
int
i_ret
;
val
.
psz_string
=
psz_arg
;
if
((
var_Type
(
p_intf
,
psz_cmd
)
&
VLC_VAR_CLASS
)
==
VLC_VAR_VOID
)
i_ret
=
var_TriggerCallback
(
p_intf
,
psz_cmd
);
else
i_ret
=
var_Set
(
p_intf
,
psz_cmd
,
val
);
msg_rc
(
"%s: returned %i (%s)"
,
psz_cmd
,
i_ret
,
vlc_error
(
i_ret
)
);
...
...
@@ -639,6 +642,9 @@ static void *Run( void *data )
val
.
psz_string
=
psz_arg
;
/* FIXME: it's a global command, but we should pass the
* local object as an argument, not p_intf->p_libvlc. */
if
((
var_Type
(
p_intf
->
p_libvlc
,
psz_cmd
)
&
VLC_VAR_CLASS
)
==
VLC_VAR_VOID
)
i_ret
=
var_TriggerCallback
(
p_intf
,
psz_cmd
);
else
i_ret
=
var_Set
(
p_intf
->
p_libvlc
,
psz_cmd
,
val
);
if
(
i_ret
!=
0
)
{
...
...
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