summaryrefslogtreecommitdiff
path: root/plugins/ffmpeg
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-06-10 22:49:30 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-06-10 22:49:30 +0200
commitaa5dc59c0a1dfbaff26c0d3d8eb95304bdc77a6d (patch)
tree35d239cd3feca7c8842b51ee1c96946a24f6f28a /plugins/ffmpeg
parent2eb9009a66975657db982287c82494eb704e8e66 (diff)
aac decoder WIP
Diffstat (limited to 'plugins/ffmpeg')
-rw-r--r--plugins/ffmpeg/ffmpeg.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/plugins/ffmpeg/ffmpeg.c b/plugins/ffmpeg/ffmpeg.c
index 62c60bf8..447d2ebe 100644
--- a/plugins/ffmpeg/ffmpeg.c
+++ b/plugins/ffmpeg/ffmpeg.c
@@ -55,20 +55,20 @@
static DB_decoder_t plugin;
static DB_functions_t *deadbeef;
-static const char * exts[] = { "m4a", "aac", "mp4", "mp+", "mpp", "wma", "shn", "aa3", "oma", "ac3", "vqf", NULL };
+static const char * exts[] = { "mp+", "mpp", "wma", "shn", "aa3", "oma", "ac3", "vqf", NULL };
enum {
- FT_AAC = 0,
- FT_M4A = 1,
- FT_WMA = 2,
- FT_SHORTEN = 3,
- FT_ATRAC3 = 4,
- FT_VQF = 5,
- FT_TTA = 6,
- FT_UNKNOWN = 7
+// FT_AAC = 0,
+// FT_M4A = 1,
+ FT_WMA = 0,
+ FT_SHORTEN = 1,
+ FT_ATRAC3 = 2,
+ FT_VQF = 3,
+ FT_TTA = 4,
+ FT_UNKNOWN = 5
};
-static const char *filetypes[] = { "AAC", "M4A", "WMA", "Shorten", "atrac3", "VQF", "TTA", "FFMPEG", NULL };
+static const char *filetypes[] = { "WMA", "Shorten", "atrac3", "VQF", "TTA", "FFMPEG (unknown)", NULL };
#define FF_PROTOCOL_NAME "deadbeef"
@@ -516,15 +516,15 @@ ffmpeg_insert (DB_playItem_t *after, const char *fname) {
ext++;
}
- if (!strcasecmp (ext, "m4a")) {
- filetype = filetypes[FT_M4A];
- }
- if (!strcasecmp (ext, "aac")) {
- filetype = filetypes[FT_AAC];
- }
- else if (!strcasecmp (ext, "mp4")) {
- filetype = filetypes[FT_M4A];
- }
+// if (!strcasecmp (ext, "m4a")) {
+// filetype = filetypes[FT_M4A];
+// }
+// if (!strcasecmp (ext, "aac")) {
+// filetype = filetypes[FT_AAC];
+// }
+// else if (!strcasecmp (ext, "mp4")) {
+// filetype = filetypes[FT_M4A];
+// }
else if (!strcasecmp (ext, "wma")) {
filetype = filetypes[FT_WMA];
}