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
e4de05b7
Commit
e4de05b7
authored
Apr 16, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stream: add STREAM_CAN_PAUSE and STREAM_CAN_CONTROL_PACE
parent
902b733b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
include/vlc_stream.h
include/vlc_stream.h
+2
-0
src/input/stream.c
src/input/stream.c
+4
-1
No files found.
include/vlc_stream.h
View file @
e4de05b7
...
@@ -90,6 +90,8 @@ enum stream_query_e
...
@@ -90,6 +90,8 @@ enum stream_query_e
/* capabilities */
/* capabilities */
STREAM_CAN_SEEK
,
/**< arg1= bool * res=cannot fail*/
STREAM_CAN_SEEK
,
/**< arg1= bool * res=cannot fail*/
STREAM_CAN_FASTSEEK
,
/**< arg1= bool * res=cannot fail*/
STREAM_CAN_FASTSEEK
,
/**< arg1= bool * res=cannot fail*/
STREAM_CAN_PAUSE
,
/**< arg1= bool * res=cannot fail*/
STREAM_CAN_CONTROL_PACE
,
/**< arg1= bool * res=cannot fail*/
/* */
/* */
STREAM_SET_POSITION
,
/**< arg1= uint64_t res=can fail */
STREAM_SET_POSITION
,
/**< arg1= uint64_t res=can fail */
...
...
src/input/stream.c
View file @
e4de05b7
...
@@ -568,9 +568,12 @@ static int AStreamControl( stream_t *s, int i_query, va_list args )
...
@@ -568,9 +568,12 @@ static int AStreamControl( stream_t *s, int i_query, va_list args )
case
STREAM_CAN_SEEK
:
case
STREAM_CAN_SEEK
:
return
access_vaControl
(
p_access
,
ACCESS_CAN_SEEK
,
args
);
return
access_vaControl
(
p_access
,
ACCESS_CAN_SEEK
,
args
);
case
STREAM_CAN_FASTSEEK
:
case
STREAM_CAN_FASTSEEK
:
return
access_vaControl
(
p_access
,
ACCESS_CAN_FASTSEEK
,
args
);
return
access_vaControl
(
p_access
,
ACCESS_CAN_FASTSEEK
,
args
);
case
STREAM_CAN_PAUSE
:
return
access_vaControl
(
p_access
,
ACCESS_CAN_PAUSE
,
args
);
case
STREAM_CAN_CONTROL_PACE
:
return
access_vaControl
(
p_access
,
ACCESS_CAN_CONTROL_PACE
,
args
);
case
STREAM_GET_POSITION
:
case
STREAM_GET_POSITION
:
pi_64
=
va_arg
(
args
,
uint64_t
*
);
pi_64
=
va_arg
(
args
,
uint64_t
*
);
...
...
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