[vlc-devel] [PATCH] libvlc: Add a new more extensible struct libvlc_media_track_t
Rémi Denis-Courmont
remi at remlab.net
Tue Feb 12 18:35:36 CET 2013
Le mardi 12 février 2013 00:28:09, Martin Storsjö a écrit :
> @@ -512,6 +558,21 @@ LIBVLC_API void *libvlc_media_get_user_data(
> libvlc_media_t *p_md ); LIBVLC_API
> int libvlc_media_get_tracks_info( libvlc_media_t *p_md,
> libvlc_media_track_info_t **tracks );
> +LIBVLC_API
> +int libvlc_media_get_tracks( libvlc_media_t *p_md,
> + libvlc_media_track_t ***tracks );
> +
> +
> +/**
> + * Release media descriptor's elementary streams description array
> + *
> + * \param p_tracks tracks info array to release
> + * \param i_count number of elements in the array
> + */
> +LIBVLC_API
> +void libvlc_media_tracks_release( libvlc_media_track_t **p_tracks,
> + int i_count );
> +
>
> /** @}*/
>
Picking nits... The naming/ordering is inconsistent.
Also the \version stanza is missing.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list