From: <fla...@gm...> - 2008-01-25 21:49:34
|
# HG changeset patch # User Diego 'Flameeyes' Pettenò <fla...@gm...> # Date 1201297766 -3600 # Node ID 4175b9e66251987d81c17b0069588e302bef0b75 # Parent a94a6744ef46a03fb5ee691443ea8f333580baa7 Report unofficial mimetypes (x- variants) for the Ogg demuxer too. diff -r 4175b9e66251987d81c17b0069588e302bef0b75 -r a94a6744ef46a03fb5ee691443ea8f333580baa7 src/demuxers/demux_ogg.c --- a/src/demuxers/demux_ogg.c Fri Jan 25 22:49:26 2008 +0100 +++ b/src/demuxers/demux_ogg.c Fri Jan 25 22:46:31 2008 +0100 @@ -2119,8 +2119,11 @@ static const char *anx_get_extensions (d static const char *anx_get_mimetypes (demux_class_t *this_gen) { return "application/annodex: anx: Annodex media;" + "application/x-annodex: anx: Annodex media;" "audio/annodex: axa: Annodex audio;" + "audio/x-annodex: axa: Annodex audio;" "video/annodex: axv: Annodex video;"; + "video/x-annodex: axv: Annodex video;"; } static void anx_class_dispose (demux_class_t *this_gen) { @@ -2162,8 +2165,11 @@ static const char *ogg_get_extensions (d static const char *ogg_get_mimetypes (demux_class_t *this_gen) { return "application/ogg: ogx: Ogg Stream;" + "application/x-ogg: ogx: Ogg Stream;" "audio/ogg: oga: Ogg Audio;" + "audio/x-ogg: oga: Ogg Audio;" "video/ogg: ogv: Ogg Video;"; + "video/x-ogg: ogv: Ogg Video;"; } static void ogg_class_dispose (demux_class_t *this_gen) { |