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

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

On Fri, Dec 03, 2010 at 02:05:45AM +0100, Pierre Ynard wrote:
> >  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
> Could somebody explain again how i_id is not unique (and why there is a
> different i_meta_id that is unique) ?
 i_id is set by the demuxer while i_meta_id is constructed by the es_out_t
layer and ensure that they are unique.

> >  - the source is exactly the same each time it is read, eg ts from DVB
> >    or UDP won't work, but file source will.
> Yeah, and what about live streams?
 It depends on the format and then on the content. TS and (PS but very rare) may not
ensure it (eg: if there are multiple programs), but others usually will.


More information about the vlc-devel mailing list