[vlc-devel] How to slow down the demuxer?

Rémi Denis-Courmont remi at remlab.net
Wed Oct 24 19:49:24 CEST 2012


Le mercredi 24 octobre 2012 20:34:22, Denis Charmet a écrit :
> Hi,
> 
> Le mercredi 24 octobre 2012 à 02:04:37, Frédéric Yhuel a écrit :
> >     es_out_Control( p_demux->out, ES_OUT_SET_PCR, VLC_TS_0 + p_sys->i_pcr
> >     );
> > 
> > I don't really understand how this mechanism works, but the fact is
> > that it doesn't work well with Smooth Streaming (implemented as a
> > demuxer).
> 
> Laurent will correct me if I'm wrong but ES_OUT_PCR is the only function
> that pace your demux calls.

I think so too.

Nevertheless if the input is a live stream, then reading from the input stream 
can also block the demuxer. It will not affect the demux calls though.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list