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
d254e4ff
Commit
d254e4ff
authored
Aug 04, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dummy input: implement pause with infinite duration
parent
45f7ca3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
modules/misc/dummy/input.c
modules/misc/dummy/input.c
+16
-0
No files found.
modules/misc/dummy/input.c
View file @
d254e4ff
...
...
@@ -44,6 +44,13 @@ static int DemuxNoOp( demux_t *demux )
return
0
;
}
static
int
DemuxHold
(
demux_t
*
demux
)
{
(
void
)
demux
;
msleep
(
10000
);
/* FIXME!!! */
return
1
;
}
struct
demux_sys_t
{
mtime_t
end
;
...
...
@@ -149,6 +156,15 @@ nop:
return
VLC_SUCCESS
;
}
if
(
!
strcasecmp
(
psz_name
,
"pause"
)
)
{
msg_Info
(
p_demux
,
"command `pause'"
);
p_demux
->
pf_demux
=
DemuxHold
;
p_demux
->
pf_control
=
DemuxControl
;
return
VLC_SUCCESS
;
}
/* Check for a "vlc://pause:***" command */
if
(
!
strncasecmp
(
psz_name
,
"pause:"
,
6
)
)
{
...
...
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