[vlc-devel] Exposing vlc supported file extensions/types.

Rémi Denis-Courmont remi at remlab.net
Thu Sep 6 09:34:37 CEST 2012


Le mercredi 5 septembre 2012 12:24:07, Mark Lee a écrit :
> The simplest approach is to have some static storage for those defined
> strings and return them verbatim. Or, should they be tokenised from these
> defines and returned in a string array, or some sort of list structure?

That depends on the use case, I suppose.

I am fine with static storage, but that means the list will forever have to be 
static.

> Would it be preferable to have one API method for each type (audio, video,
> playlist etc), or a single method that takes a type parameter?

An enumeration parameter is probably saner.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list