summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-05-07 12:39:38 +0200
committerGravatar waker <wakeroid@gmail.com>2011-05-07 12:39:38 +0200
commit277bdd28610f0707553f2546293e428c1b945ab1 (patch)
tree951e31bc988071927436e971effb599ff37a08dc /plugins
parenta66edbbbeec2f6c498afbbafca66e45bd85e79b5 (diff)
fixed streaming ogg and aac filetype
Diffstat (limited to 'plugins')
-rw-r--r--plugins/aac/aac.c1
-rw-r--r--plugins/vorbis/vorbis.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/plugins/aac/aac.c b/plugins/aac/aac.c
index 8027c612..c751135d 100644
--- a/plugins/aac/aac.c
+++ b/plugins/aac/aac.c
@@ -588,6 +588,7 @@ aac_init (DB_fileinfo_t *_info, DB_playItem_t *it) {
return -1;
}
trace("parse_aac_stream returned %x\n", offs);
+ deadbeef->pl_replace_meta (it, ":FILETYPE", "AAC");
}
if (offs >= 0) {
diff --git a/plugins/vorbis/vorbis.c b/plugins/vorbis/vorbis.c
index 07630735..ad95d649 100644
--- a/plugins/vorbis/vorbis.c
+++ b/plugins/vorbis/vorbis.c
@@ -221,6 +221,7 @@ cvorbis_init (DB_fileinfo_t *_info, DB_playItem_t *it) {
return -1;
}
deadbeef->pl_set_item_duration (it, -1);
+ deadbeef->pl_replace_meta (it, ":FILETYPE", "OggVorbis");
}
else
{