[vlc-devel] [PATCH 2/2] Fix libvlc_media_get_tracks_info()

Laurent Aimar fenrir at elivagar.org
Tue Dec 7 20:16:28 CET 2010


On Fri, Dec 03, 2010 at 12:27:33AM +0100, Rémi Denis-Courmont wrote:
> 
> On Thu, 2 Dec 2010 21:59:09 +0100, Laurent Aimar <fenrir at elivagar.org>
> wrote:
> >> Well I meant unique, constant for the ES lifetime and reproducible
> >> across identical/re-used source media.
> 
> >  My bad, es_format_t::i_id may not be unique. But es_out_id_t::i_meta_id
> > respects all your constraints, as long as
> >  - the source is exactly the same each time it is read, eg ts from DVB or
> > UDP won't work, but file source will.
> >  - and the demuxer calls es_out_Add() in the same order. Not a problem
> > except when multiple threads create ES.
> 
> What about input slaves?
 It works too as long as they are openned in the same order and follow the
same constraint.

-- 
fenrir



More information about the vlc-devel mailing list