From caa17db85e2401f1ed9e4ddcc587ba8d511f79fb Mon Sep 17 00:00:00 2001 From: "J. Alexander Treuman" Date: Mon, 4 Jun 2007 18:57:34 +0000 Subject: Add MIME types for the aac and mp4 input plugins. Note that these won't have any effect until the aac and mp4 input plugins actually support a stream decoding API. git-svn-id: https://svn.musicpd.org/mpd/trunk@6481 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/inputPlugins/mp4_plugin.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/inputPlugins/mp4_plugin.c') diff --git a/src/inputPlugins/mp4_plugin.c b/src/inputPlugins/mp4_plugin.c index 1ebf556c6..b30d6593a 100644 --- a/src/inputPlugins/mp4_plugin.c +++ b/src/inputPlugins/mp4_plugin.c @@ -433,7 +433,8 @@ static MpdTag *mp4TagDup(char *file) return ret; } -static char *mp4Suffixes[] = { "m4a", "mp4", NULL }; +static char *mp4_suffixes[] = { "m4a", "mp4", NULL }; +static char *mp4_mimeTypes[] = { "audio/mp4", "audio/m4a", NULL }; InputPlugin mp4Plugin = { "mp4", @@ -444,8 +445,8 @@ InputPlugin mp4Plugin = { mp4_decode, mp4TagDup, INPUT_PLUGIN_STREAM_FILE, - mp4Suffixes, - NULL + mp4_suffixes, + mp4_mimeTypes }; #else -- cgit v1.2.3