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
cca4ec23
Commit
cca4ec23
authored
Apr 16, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
http filters: pause not implemented, pace control not supported
Also add missing STREAM_CAN_FASTSEEK to HTTP live.
parent
2c1731e7
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
modules/stream_filter/dash/dash.cpp
modules/stream_filter/dash/dash.cpp
+5
-0
modules/stream_filter/httplive.c
modules/stream_filter/httplive.c
+5
-0
modules/stream_filter/smooth/smooth.c
modules/stream_filter/smooth/smooth.c
+2
-0
No files found.
modules/stream_filter/dash/dash.cpp
View file @
cca4ec23
...
@@ -247,6 +247,11 @@ static int Control (stream_t *p_stream, int i_query, va_list args)
...
@@ -247,6 +247,11 @@ static int Control (stream_t *p_stream, int i_query, va_list args)
/*TODO Support Seek */
/*TODO Support Seek */
*
(
va_arg
(
args
,
bool
*
))
=
SEEK
;
*
(
va_arg
(
args
,
bool
*
))
=
SEEK
;
break
;
break
;
case
STREAM_CAN_PAUSE
:
case
STREAM_CAN_CONTROL_PACE
:
*
(
va_arg
(
args
,
bool
*
))
=
false
;
/* TODO */
break
;
case
STREAM_GET_POSITION
:
case
STREAM_GET_POSITION
:
*
(
va_arg
(
args
,
uint64_t
*
))
=
p_sys
->
position
;
*
(
va_arg
(
args
,
uint64_t
*
))
=
p_sys
->
position
;
break
;
break
;
...
...
modules/stream_filter/httplive.c
View file @
cca4ec23
...
@@ -2493,6 +2493,11 @@ static int Control(stream_t *s, int i_query, va_list args)
...
@@ -2493,6 +2493,11 @@ static int Control(stream_t *s, int i_query, va_list args)
case
STREAM_CAN_SEEK
:
case
STREAM_CAN_SEEK
:
*
(
va_arg
(
args
,
bool
*
))
=
hls_MaySeek
(
s
);
*
(
va_arg
(
args
,
bool
*
))
=
hls_MaySeek
(
s
);
break
;
break
;
case
STREAM_CAN_FASTSEEK
:
case
STREAM_CAN_PAUSE
:
/* TODO */
case
STREAM_CAN_CONTROL_PACE
:
*
(
va_arg
(
args
,
bool
*
))
=
false
;
break
;
case
STREAM_GET_POSITION
:
case
STREAM_GET_POSITION
:
*
(
va_arg
(
args
,
uint64_t
*
))
=
p_sys
->
playback
.
offset
;
*
(
va_arg
(
args
,
uint64_t
*
))
=
p_sys
->
playback
.
offset
;
break
;
break
;
...
...
modules/stream_filter/smooth/smooth.c
View file @
cca4ec23
...
@@ -738,6 +738,8 @@ static int Control( stream_t *s, int i_query, va_list args )
...
@@ -738,6 +738,8 @@ static int Control( stream_t *s, int i_query, va_list args )
*
(
va_arg
(
args
,
bool
*
))
=
true
;
*
(
va_arg
(
args
,
bool
*
))
=
true
;
break
;
break
;
case
STREAM_CAN_FASTSEEK
:
case
STREAM_CAN_FASTSEEK
:
case
STREAM_CAN_PAUSE
:
/* TODO */
case
STREAM_CAN_CONTROL_PACE
:
*
(
va_arg
(
args
,
bool
*
))
=
false
;
*
(
va_arg
(
args
,
bool
*
))
=
false
;
break
;
break
;
case
STREAM_GET_POSITION
:
case
STREAM_GET_POSITION
:
...
...
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