]> git.sesse.net Git - x264/blobdiff - common/frame.c
Improve DTS generation, move DTS compression into libx264
[x264] / common / frame.c
index e01d77936a69bf952c1337f0b54836c1876ca379..e7003fdf07c4359f73f5b24488b608fc95e4dcdb 100644 (file)
@@ -223,7 +223,7 @@ int x264_frame_copy_picture( x264_t *h, x264_frame_t *dst, x264_picture_t *src )
 
     dst->i_type     = src->i_type;
     dst->i_qpplus1  = src->i_qpplus1;
-    dst->i_pts      = dst->i_dts = src->i_pts;
+    dst->i_pts      = dst->i_reordered_pts = src->i_pts;
     dst->param      = src->param;
 
     for( i=0; i<3; i++ )