Commit 2f676d81 authored by Laurent Aimar's avatar Laurent Aimar

* mpeg4video: more cludges (it should be rewritten to calculate true

dts/pts ...)
parent 3de8decd
...@@ -312,8 +312,11 @@ static block_t *Packetize( decoder_t *p_dec, block_t **pp_block ) ...@@ -312,8 +312,11 @@ static block_t *Packetize( decoder_t *p_dec, block_t **pp_block )
{ {
p_sys->i_pts = p_block->i_dts; p_sys->i_pts = p_block->i_dts;
} }
if( p_block->i_dts > 0 )
{
p_sys->i_dts = p_block->i_dts; p_sys->i_dts = p_block->i_dts;
} }
}
p_start += 4; /* Next */ p_start += 4; /* Next */
} }
} }
......
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