Commit f35cdf2a authored by Steve Lhomme's avatar Steve Lhomme
Browse files

* fix a timecode/stuttering problem with VFW tracks

parent 6e6cae5b
...@@ -1903,6 +1903,10 @@ msg_Dbg( p_demux, "block i_dts: "I64Fd" / i_pts: "I64Fd, p_block->i_dts, p_block ...@@ -1903,6 +1903,10 @@ msg_Dbg( p_demux, "block i_dts: "I64Fd" / i_pts: "I64Fd, p_block->i_dts, p_block
{ {
p_block->i_length = i_duration * 1000; p_block->i_length = i_duration * 1000;
} }
if( !strcmp( tk->psz_codec, "V_MS/VFW/FOURCC" ) )
{
p_block->i_pts = 0;
}
es_out_Send( p_demux->out, tk->p_es, p_block ); es_out_Send( p_demux->out, tk->p_es, p_block );
......
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