[vlc-devel] [PATCH] libvlc: expand media player API to reveal full information about titles and chapters

Felix Paul Kühne fkuehne at videolan.org
Mon Jan 26 21:55:53 CET 2015


> On 26 Jan 2015, at 21:36, Rémi Denis-Courmont <remi at remlab.net> wrote:
> 
> Sorry but to label all this "useful" makes me pretty sure that this is just 
> code written without even looking and thinking.

Can you please elaborate?

This patch solves 2 issues for me:

- check if a given title is a menu and for its duration (previously, you could only get a list of titles and their names)
- check for the duration of a chapter (previously, you could only get the name)

Both additions are useful for libvlc client apps, aka VLC’s ports to iOS and Android, when playing MKVs or DVD media.

Agreed, this is quite a large number of lines for very simple additions and I’ll happily discuss ways to generalize the structures with you next weekend.

Cheers,

Felix




More information about the vlc-devel mailing list