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
273c9cc1
Commit
273c9cc1
authored
Feb 21, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stream_filter: rectify PTS delay unit (fix #10748)
parent
c3bb23cd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
modules/stream_filter/dash/dash.cpp
modules/stream_filter/dash/dash.cpp
+4
-1
modules/stream_filter/httplive.c
modules/stream_filter/httplive.c
+1
-1
modules/stream_filter/smooth/smooth.c
modules/stream_filter/smooth/smooth.c
+1
-1
No files found.
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
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