Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-ui-redesign
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
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
Gautam Chitnis
web-ui-redesign
Commits
b45a95e1
Commit
b45a95e1
authored
May 12, 2017
by
François Cartegnie
🤞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
packetizer: hevc: fix timestamp propagation
next sync nal timestamp was not used
parent
279d76fb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
modules/packetizer/hevc.c
modules/packetizer/hevc.c
+5
-4
No files found.
modules/packetizer/hevc.c
View file @
b45a95e1
...
...
@@ -748,13 +748,11 @@ static block_t *ParseNALBlock(decoder_t *p_dec, bool *pb_ts_used, block_t *p_fra
if
(
p_sys
->
b_need_ts
)
{
if
(
p_frag
->
i_dts
>
VLC_TS_INVALID
)
{
date_Set
(
&
p_sys
->
dts
,
p_frag
->
i_dts
);
*
pb_ts_used
=
true
;
}
p_sys
->
pts
=
p_frag
->
i_pts
;
if
(
date_Get
(
&
p_sys
->
dts
)
!=
VLC_TS_INVALID
)
p_sys
->
b_need_ts
=
false
;
*
pb_ts_used
=
true
;
}
if
(
unlikely
(
p_frag
->
i_buffer
<
5
))
...
...
@@ -789,8 +787,11 @@ static block_t *ParseNALBlock(decoder_t *p_dec, bool *pb_ts_used, block_t *p_fra
p_output
=
GatherAndValidateChain
(
p_output
);
if
(
p_output
)
{
p_sys
->
b_need_ts
=
true
;
SetOutputBlockProperties
(
p_dec
,
p_output
);
if
(
p_frag
->
i_dts
>
VLC_TS_INVALID
)
date_Set
(
&
p_sys
->
dts
,
p_frag
->
i_dts
);
p_sys
->
pts
=
p_frag
->
i_pts
;
*
pb_ts_used
=
true
;
}
return
p_output
;
...
...
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