Commit 5b567860 authored by Gildas Bazin's avatar Gildas Bazin

* modules/packetizer/mpeg4video.c: oops, don't forget to handle streams where...

* modules/packetizer/mpeg4video.c: oops, don't forget to handle streams where only the DTS is available.
parent 7ac10f1d
......@@ -367,6 +367,8 @@ static block_t *Packetize( decoder_t *p_dec, block_t **pp_block )
if( p_block->i_pts > 0 )
p_sys->i_interpolated_dts = p_block->i_pts;
if( p_block->i_dts > 0 )
p_sys->i_interpolated_dts = p_block->i_dts;
p_sys->i_interpolated_pts = p_sys->i_interpolated_dts;
}
......
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