[vlc-devel] Demux module with no timestamps

Rémi Denis-Courmont remi at remlab.net
Thu Nov 26 20:24:35 CET 2009

Le jeudi 26 novembre 2009 19:18:01 Juan Fernando Herrera J., vous avez écrit :
> I'm writing a custom demux module, and while testing I'd like to output
> blocks without regard to dts and pts. How should I write:
>     p_block->i_dts = p_block->i_pts = ?????;
>     es_out_Control( p_demux->out, ES_OUT_SET_PCR, ????? );
>     es_out_Send( p_demux->out, p_sys->screen_es, p_block );

You can set the PTS and DTS to VLC_TS_INVALID. But the synchronization will 
not work. Hence nothing will ever be rendered.

In other words, setting the PTS is *not* optional.

Rémi Denis-Courmont

More information about the vlc-devel mailing list