Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
273c9cc1
Commit
273c9cc1
authored
Feb 21, 2014
by
Rémi Denis-Courmont
Browse files
stream_filter: rectify PTS delay unit (fix #10748)
parent
c3bb23cd
Changes
3
Hide whitespace changes
Inline
Side-by-side
modules/stream_filter/dash/dash.cpp
View file @
273c9cc1
...
...
@@ -29,6 +29,9 @@
# include "config.h"
#endif
#define __STDC_CONSTANT_MACROS 1
#include
<stdint.h>
#include
<vlc_common.h>
#include
<vlc_plugin.h>
...
...
@@ -283,7 +286,7 @@ static int Control (stream_t *p_stream, int i_query, va_list args)
break
;
}
case
STREAM_GET_PTS_DELAY
:
*
va_arg
(
args
,
int64_t
*
)
=
*
va_arg
(
args
,
int64_t
*
)
=
INT64_C
(
1000
)
*
var_InheritInteger
(
p_stream
,
"network-caching"
);
break
;
...
...
modules/stream_filter/httplive.c
View file @
273c9cc1
...
...
@@ -2686,7 +2686,7 @@ static int Control(stream_t *s, int i_query, va_list args)
*
(
va_arg
(
args
,
uint64_t
*
))
=
GetStreamSize
(
s
);
break
;
case
STREAM_GET_PTS_DELAY
:
*
va_arg
(
args
,
int64_t
*
)
=
*
va_arg
(
args
,
int64_t
*
)
=
INT64_C
(
1000
)
*
var_InheritInteger
(
s
,
"network-caching"
);
break
;
default:
...
...
modules/stream_filter/smooth/smooth.c
View file @
273c9cc1
...
...
@@ -758,7 +758,7 @@ static int Control( stream_t *s, int i_query, va_list args )
*
(
va_arg
(
args
,
uint64_t
*
))
=
FAKE_STREAM_SIZE
;
break
;
case
STREAM_GET_PTS_DELAY
:
*
va_arg
(
args
,
int64_t
*
)
=
*
va_arg
(
args
,
int64_t
*
)
=
INT64_C
(
1000
)
*
var_InheritInteger
(
s
,
"network-caching"
);
break
;
default:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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