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
d849f0bc
Commit
d849f0bc
authored
May 04, 2007
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
"[PATCH] add play <url> ability to vlm" by Ilkka Ollakka
parent
39df3350
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
src/input/vlm.c
src/input/vlm.c
+15
-0
No files found.
src/input/vlm.c
View file @
d849f0bc
...
...
@@ -465,7 +465,22 @@ static int ExecuteControl( vlm_t *p_vlm, const char *psz_name, const int i_arg,
int
i
;
if
(
(
psz_argument
&&
sscanf
(
psz_argument
,
"%d"
,
&
i
)
==
1
)
&&
i
>
0
&&
i
-
1
<
p_media
->
cfg
.
i_input
)
{
i_input_index
=
i
-
1
;
}
else
if
(
psz_argument
)
{
int
j
;
vlm_media_t
*
p_cfg
=
&
p_media
->
cfg
;
for
(
j
=
0
;
j
<
p_cfg
->
i_input
;
j
++
)
{
if
(
!
strcmp
(
p_cfg
->
ppsz_input
[
j
],
psz_argument
)
)
{
i_input_index
=
j
;
break
;
}
}
}
if
(
p_media
->
cfg
.
b_vod
)
i_result
=
vlm_ControlInternal
(
p_vlm
,
VLM_START_MEDIA_VOD_INSTANCE
,
p_media
->
cfg
.
id
,
psz_instance
,
i_input_index
,
NULL
);
// we should get here now
...
...
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