[vlc-devel] commit: Fix video delay when using alsa or oss as slaves ( Antoine Cellerier )
fenrir at via.ecp.fr
Sat Jul 18 00:56:23 CEST 2009
On Sat, Jul 18, 2009, Antoine Cellerier wrote:
> On Fri, Jul 17, 2009, Laurent Aimar wrote:
> > It's now simple (access_demux only), you just need to not define the pf_demux (set
> > it to NULL) and send your data from a thread you create yourself in Open() and
> > terminate in Close().
> > Becareful that Control() can and will still be called (so outside of your thread).
> Ok, sounds exactly like what I need. Do any of the current modules
> already work that way? (I just need to call es_out_Send() like before to
> send the data right?
Basically, it's just doing what you do in pf_demux but in a thread.
(And not handling DEMUX_SET_NEXT_DEMUX_TIME anymore).
> or is there something new to add?
> like to signal end of files?)
There isn't any way at the moment. (The only time it can happens is because
of a fatal error). If needed it could be added, but I think it's can be ignored
for the moment.
More information about the vlc-devel