aboutsummaryrefslogtreecommitdiffstats
path: root/src/player.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-03-19 01:24:20 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-03-19 01:24:20 +0000
commitcbfcd23d83f34c13add74e4f593c170a3afc62f1 (patch)
tree909d3e1d183f47bb26e451a5ffaa5e31ad314a5f /src/player.c
parentb87cc3c164e227fb72621b61034dea232b863cb3 (diff)
downloadmpd-cbfcd23d83f34c13add74e4f593c170a3afc62f1.tar.gz
mpd-cbfcd23d83f34c13add74e4f593c170a3afc62f1.tar.xz
mpd-cbfcd23d83f34c13add74e4f593c170a3afc62f1.zip
fix bug that prevented crosffading/gapless from working for mp4
git-svn-id: https://svn.musicpd.org/mpd/trunk@282 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/player.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/player.c b/src/player.c
index fc906d1eb..d6a79b74a 100644
--- a/src/player.c
+++ b/src/player.c
@@ -335,6 +335,11 @@ int queueSong(char * utf8file) {
pc->decodeType = DECODE_TYPE_AUDIOFILE;
}
#endif
+#ifdef HAVE_AUDIOFILE
+ else if(isMp4(utf8file,NULL)) {
+ pc->decodeType = DECODE_TYPE_MP4;
+ }
+#endif
else return -1;
pc->queueState = PLAYER_QUEUE_FULL;
return 0;