[vlc-devel] ts and PES dts

Christophe Massiot massiot at via.ecp.fr
Tue Nov 11 01:28:33 CET 2008


On Mon, Nov 10, 2008, Laurent Aimar wrote:

> On Mon, Nov 10, 2008, Sébastien Escudier wrote:
> > Would it break anything to date all PES blocks, as in attached patch ?
> > 
> > I don't understand this in pes.c line 288:
> > // only first PES has a dts/pts
> > why ?
>  I am not sure that writing the pts/dts into the pes header is valid if no
> access unit start in it.
>  Except that, setting i_pts/i_dts of the block_t in any case, should be valid.

But in that particular case, the timestamps would be incorrect if you
don't increment them (and you can't know of how much to increment them).

-- 
Christophe Massiot.



More information about the vlc-devel mailing list