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
e3ff3215
Commit
e3ff3215
authored
Apr 16, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stream: add STREAM_SET_PAUSE_STATE control
parent
6bc22466
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
include/vlc_stream.h
include/vlc_stream.h
+1
-0
src/input/stream.c
src/input/stream.c
+3
-0
No files found.
include/vlc_stream.h
View file @
e3ff3215
...
...
@@ -108,6 +108,7 @@ enum stream_query_e
/* */
STREAM_GET_CONTENT_TYPE
,
/**< arg1= char ** res=can fail */
STREAM_SET_PAUSE_STATE
=
0x200
,
/**< arg1= bool res=can fail */
/* XXX only data read through stream_Read/Block will be recorded */
STREAM_SET_RECORD_STATE
,
/**< arg1=bool, arg2=const char *psz_ext (if arg1 is true) res=can fail */
...
...
src/input/stream.c
View file @
e3ff3215
...
...
@@ -616,6 +616,9 @@ static int AStreamControl( stream_t *s, int i_query, va_list args )
case
STREAM_GET_CONTENT_TYPE
:
return
access_vaControl
(
p_access
,
ACCESS_GET_CONTENT_TYPE
,
args
);
case
STREAM_SET_PAUSE_STATE
:
return
access_vaControl
(
p_access
,
ACCESS_SET_PAUSE_STATE
,
args
);
case
STREAM_SET_RECORD_STATE
:
default:
msg_Err
(
s
,
"invalid stream_vaControl query=0x%x"
,
i_query
);
...
...
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