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

Juha Jeronen juha.jeronen at jyu.fi
Thu Sep 6 07:46:32 CEST 2012


Hi,

On 05.09.2012 13:44, Mark Lee wrote:
> Hello...
>
> On 5 September 2012 11:39, Juha Jeronen <juha.jeronen at jyu.fi 
> <mailto:juha.jeronen at jyu.fi>> wrote:
>
>     On 05.09.2012 12:24, Mark Lee wrote:
>>     Hello,
>>
>>     Rather than maintaining my own possibly out of date copies of vlc
>>     supported file extensions, I would like to get them via libvlc
>>     instead. The use case is the same as for the file open dialog in
>>     the vlc application.
>>
>>     Presently these are defined like follows (truncated here for
>>     brevity) in vlc_interface.h:
>>
>>     #define EXTENSIONS_AUDIO "*.3ga;*.669;*.a52;"
>>     #define EXTENSIONS_VIDEO
>>     "*.3g2;*.3gp;*.3gp2;*.3gpp;*.amv;*.asf;*.avi;"
>>     #define EXTENSIONS_PLAYLIST "*.asx;*.b4s;*.cue;*.ifo;*.m3u;*.m3u8;"
>>     #define EXTENSIONS_MEDIA EXTENSIONS_VIDEO ";" EXTENSIONS_AUDIO
>>     ";"  EXTENSIONS_PLAYLIST
>>     #define EXTENSIONS_SUBTITLE "*.cdg;*.idx;*.srt;"
>
>     The list seems incomplete. At least "*.mkv" is missing... any others?
>
>
> This was an extract from the full list already defined in 
> vlc_interface.h, hence "truncated here for brevity". I wanted to show 
> an example, not repost the whole list.

I see. I missed the "truncated here for brevity" part...

Sorry for the noise, then :)

  -J

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120906/2b1a795b/attachment.html>


More information about the vlc-devel mailing list