Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
a0db104d
Commit
a0db104d
authored
Aug 10, 2005
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Remove vlc:run (externrun is removed from SVN) and vlc:loop (we have --loop).
Playlist item commands are soooo dirty :D
parent
bd4e7c98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
30 deletions
+0
-30
modules/misc/dummy/input.c
modules/misc/dummy/input.c
+0
-30
No files found.
modules/misc/dummy/input.c
View file @
a0db104d
...
@@ -124,9 +124,7 @@ enum
...
@@ -124,9 +124,7 @@ enum
{
{
COMMAND_NOP
=
0
,
COMMAND_NOP
=
0
,
COMMAND_QUIT
=
1
,
COMMAND_QUIT
=
1
,
COMMAND_LOOP
=
2
,
COMMAND_PAUSE
=
3
,
COMMAND_PAUSE
=
3
,
COMMAND_RUN
=
4
,
};
};
static
int
Demux
(
demux_t
*
);
static
int
Demux
(
demux_t
*
);
...
@@ -165,14 +163,6 @@ int E_(OpenDemux) ( vlc_object_t *p_this )
...
@@ -165,14 +163,6 @@ int E_(OpenDemux) ( vlc_object_t *p_this )
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
/* Check for a "vlc:loop" command */
if
(
i_len
==
4
&&
!
strncasecmp
(
psz_name
,
"loop"
,
4
)
)
{
msg_Info
(
p_demux
,
"command `loop'"
);
p_sys
->
i_command
=
COMMAND_LOOP
;
return
VLC_SUCCESS
;
}
/* Check for a "vlc:pause:***" command */
/* Check for a "vlc:pause:***" command */
if
(
i_len
>
6
&&
!
strncasecmp
(
psz_name
,
"pause:"
,
6
)
)
if
(
i_len
>
6
&&
!
strncasecmp
(
psz_name
,
"pause:"
,
6
)
)
{
{
...
@@ -183,16 +173,6 @@ int E_(OpenDemux) ( vlc_object_t *p_this )
...
@@ -183,16 +173,6 @@ int E_(OpenDemux) ( vlc_object_t *p_this )
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
/* Check for a "vlc:run:***" command */
if
(
i_len
>
4
&&
!
strncasecmp
(
psz_name
,
"run:"
,
4
)
)
{
p_sys
->
psz_command
=
malloc
(
i_len
-
4
);
strcpy
(
p_sys
->
psz_command
,
psz_name
+
4
);
msg_Info
(
p_demux
,
"command `run program %s'"
,
p_sys
->
psz_command
);
p_sys
->
i_command
=
COMMAND_RUN
;
return
VLC_SUCCESS
;
}
msg_Err
(
p_demux
,
"unknown command `%s'"
,
psz_name
);
msg_Err
(
p_demux
,
"unknown command `%s'"
,
psz_name
);
free
(
p_sys
);
free
(
p_sys
);
...
@@ -232,10 +212,6 @@ static int Demux( demux_t *p_demux )
...
@@ -232,10 +212,6 @@ static int Demux( demux_t *p_demux )
b_eof
=
p_demux
->
p_vlc
->
b_die
=
VLC_TRUE
;
b_eof
=
p_demux
->
p_vlc
->
b_die
=
VLC_TRUE
;
break
;
break
;
case
COMMAND_LOOP
:
playlist_Goto
(
p_playlist
,
0
);
break
;
case
COMMAND_PAUSE
:
case
COMMAND_PAUSE
:
if
(
mdate
()
>=
p_sys
->
expiration
)
if
(
mdate
()
>=
p_sys
->
expiration
)
b_eof
=
VLC_TRUE
;
b_eof
=
VLC_TRUE
;
...
@@ -243,12 +219,6 @@ static int Demux( demux_t *p_demux )
...
@@ -243,12 +219,6 @@ static int Demux( demux_t *p_demux )
msleep
(
10000
);
msleep
(
10000
);
break
;
break
;
case
COMMAND_RUN
:
var_SetString
(
p_playlist
,
"run-program-command"
,
p_sys
->
psz_command
);
free
(
p_sys
->
psz_command
);
b_eof
=
VLC_TRUE
;
break
;
case
COMMAND_NOP
:
case
COMMAND_NOP
:
default:
default:
b_eof
=
VLC_TRUE
;
b_eof
=
VLC_TRUE
;
...
...
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