Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
62b975ab
Commit
62b975ab
authored
Mar 05, 2014
by
Rafaël Carré
Browse files
x265: set pts at encoder input
parent
a4d43caa
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/codec/x265.c
View file @
62b975ab
...
...
@@ -73,6 +73,7 @@ static block_t *Encode(encoder_t *p_enc, picture_t *p_pict)
x265_picture_init
(
&
p_sys
->
param
,
&
pic
);
if
(
likely
(
p_pict
))
{
pic
.
pts
=
p_pict
->
date
;
if
(
unlikely
(
p_sys
->
initial_date
==
0
))
{
p_sys
->
initial_date
=
p_pict
->
date
;
#ifndef NDEBUG
...
...
Write
Preview
Supports
Markdown
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