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

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

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