[vlc-devel] [PATCH] http lua: available + current tracks information in status response

Tristan Lanfrey tristan.lanfrey at gmail.com
Sun Mar 4 18:28:24 CET 2012


On Sun, Mar 4, 2012 at 5:20 PM, Rob Jonson <rob at hobbyistsoftware.com> wrote:
> +      s.information.audio_tracks=vlc.var.get_list(input, "audio-es")
> +      s.information.video_tracks=vlc.var.get_list(input, "video-es")
> +      s.information.subtitle_tracks=vlc.var.get_list(input, "spu-es")
>
> doesn't this just duplicate the info that is in information:category ?
> -albeit in a more organised format
>

If "Stream x" is guaranteed to have x as a meaningful id that can be used to
set the current track, it is indeed duplicating the info.

-- 
Tristan LANFREY



More information about the vlc-devel mailing list