[vlc-commits] x265: set pts at encoder input
Rafaël Carré
git at videolan.org
Wed Mar 5 12:23:00 CET 2014
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Mar 5 12:22:32 2014 +0100| [62b975abcc0275f1f8bea538295daee434c01582] | committer: Rafaël Carré
x265: set pts at encoder input
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=62b975abcc0275f1f8bea538295daee434c01582
---
modules/codec/x265.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/codec/x265.c b/modules/codec/x265.c
index 2adca52..860878b 100644
--- a/modules/codec/x265.c
+++ b/modules/codec/x265.c
@@ -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
More information about the vlc-commits
mailing list