[vlc-devel] [PATCH 1/3] Make httpd_MimeFromUrl public.

Rémi Denis-Courmont remi at remlab.net
Mon Jul 30 14:53:45 CEST 2012

Le dimanche 29 juillet 2012 20:19:32 Angelo Haller, vous avez écrit :
> I need a way to determine the mime content-type of a given file. I was
> quite surprised that I couldn't find an API call for that. The only
> things I found were in the http deamon and src/misc/image.c
> Or did I miss something?

Seriously, this is just a hack for the HTTP output. Within VLC, I am not sure 
relying *solely* on extensions is a good idea.

> What would be an appropriate place to move it to? A new module
> in include/ and src/misc/ ?


Rémi Denis-Courmont

More information about the vlc-devel mailing list