OSDN Git Service

media: Fix not handling "Playlist" as possible value to LoopStatus
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 10 May 2013 11:02:05 +0000 (14:02 +0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 10 May 2013 11:25:12 +0000 (14:25 +0300)
profiles/audio/media.c

index 327b58e..33847e5 100644 (file)
@@ -1482,7 +1482,7 @@ static const char *loop_status_to_repeat(const char *value)
                return "off";
        else if (strcasecmp(value, "Track") == 0)
                return "singletrack";
-       else if (strcasecmp(value, "Track") == 0)
+       else if (strcasecmp(value, "Playlist") == 0)
                return "alltracks";
 
        return NULL;