Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
349f2690
Commit
349f2690
authored
Nov 14, 2010
by
Pierre Ynard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtp: use VLC_TS_INVALID
parent
d1a8c96a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
modules/access/rtp/rtp.c
modules/access/rtp/rtp.c
+1
-1
modules/access/rtp/session.c
modules/access/rtp/session.c
+1
-1
No files found.
modules/access/rtp/rtp.c
View file @
349f2690
...
...
@@ -423,7 +423,7 @@ static void codec_decode (demux_t *demux, void *data, block_t *block)
{
if
(
data
)
{
block
->
i_dts
=
0
;
/* RTP does not specify this */
block
->
i_dts
=
VLC_TS_INVALID
;
/* RTP does not specify this */
es_out_Control
(
demux
->
out
,
ES_OUT_SET_PCR
,
block
->
i_pts
);
es_out_Send
(
demux
->
out
,
(
es_out_id_t
*
)
data
,
block
);
}
...
...
modules/access/rtp/session.c
View file @
349f2690
...
...
@@ -168,7 +168,7 @@ rtp_source_create (demux_t *demux, const rtp_session_t *session,
source
->
ssrc
=
ssrc
;
source
->
jitter
=
0
;
source
->
ref_rtp
=
0
;
/* TODO: use 0, but VLC does not like negative PTS at the moment */
/* TODO: use
VLC_TS_
0, but VLC does not like negative PTS at the moment */
source
->
ref_ntp
=
UINT64_C
(
1
)
<<
62
;
source
->
max_seq
=
source
->
bad_seq
=
init_seq
;
source
->
last_seq
=
init_seq
-
1
;
...
...
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