Commit 1928d1bf authored by Tristan Matthews's avatar Tristan Matthews

png: encoder: set pts and dts

parent 24811d4d
...@@ -422,6 +422,9 @@ static block_t *EncodeBlock(encoder_t *p_enc, picture_t *p_pic) ...@@ -422,6 +422,9 @@ static block_t *EncodeBlock(encoder_t *p_enc, picture_t *p_pic)
/* restore original buffer position */ /* restore original buffer position */
p_block->p_buffer = p_start; p_block->p_buffer = p_start;
p_block->i_buffer = i_start; p_block->i_buffer = i_start;
p_block->i_dts = p_block->i_pts = p_pic->date;
return p_block; return p_block;
error: error:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment