aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins/aac_plugin.c
diff options
context:
space:
mode:
authorJ. Alexander Treuman <jat@spatialrift.net>2007-06-04 18:57:34 +0000
committerJ. Alexander Treuman <jat@spatialrift.net>2007-06-04 18:57:34 +0000
commitcaa17db85e2401f1ed9e4ddcc587ba8d511f79fb (patch)
treea5858fd3f20fc383099e211aeaf04abd2c010114 /src/inputPlugins/aac_plugin.c
parent71094905e30d0e63ca1bb281e1621299e3b0e110 (diff)
downloadmpd-caa17db85e2401f1ed9e4ddcc587ba8d511f79fb.tar.gz
mpd-caa17db85e2401f1ed9e4ddcc587ba8d511f79fb.tar.xz
mpd-caa17db85e2401f1ed9e4ddcc587ba8d511f79fb.zip
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
Diffstat (limited to 'src/inputPlugins/aac_plugin.c')
-rw-r--r--src/inputPlugins/aac_plugin.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/inputPlugins/aac_plugin.c b/src/inputPlugins/aac_plugin.c
index 529689706..89095ef82 100644
--- a/src/inputPlugins/aac_plugin.c
+++ b/src/inputPlugins/aac_plugin.c
@@ -453,7 +453,8 @@ static MpdTag *aacTagDup(char *file)
return ret;
}
-static char *aacSuffixes[] = { "aac", NULL };
+static char *aac_suffixes[] = { "aac", NULL };
+static char *aac_mimeTypes[] = { "audio/aac", "audio/aacp", NULL };
InputPlugin aacPlugin = {
"aac",
@@ -464,8 +465,8 @@ InputPlugin aacPlugin = {
aac_decode,
aacTagDup,
INPUT_PLUGIN_STREAM_FILE,
- aacSuffixes,
- NULL
+ aac_suffixes,
+ aac_mimeTypes
};
#else