aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConner R. Phillips <conner.r.phillips@gmail.com>2017-04-22 07:31:52 +0200
committerConner R. Phillips <conner.r.phillips@gmail.com>2017-04-22 07:45:29 +0200
commitff28cf276c6092b0ac57ece76309b42ddd1d39e9 (patch)
tree325568d07e7738250680c2506052b161caf0926c
parent4891ee729d5bd98fbe8ff82b89e9758f00d18815 (diff)
Add direct support for "rate" atom
Resolves #817
-rw-r--r--taglib/mp4/mp4tag.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/taglib/mp4/mp4tag.cpp b/taglib/mp4/mp4tag.cpp
index a7a473a2..11d3cc51 100644
--- a/taglib/mp4/mp4tag.cpp
+++ b/taglib/mp4/mp4tag.cpp
@@ -74,7 +74,7 @@ MP4::Tag::Tag(TagLib::File *file, MP4::Atoms *atoms) :
atom->name == "hdvd" || atom->name == "shwm") {
parseBool(atom);
}
- else if(atom->name == "tmpo" || atom->name == "\251mvi" || atom->name == "\251mvc") {
+ else if(atom->name == "tmpo" || atom->name == "rate" || atom->name == "\251mvi" || atom->name == "\251mvc") {
parseInt(atom);
}
else if(atom->name == "tvsn" || atom->name == "tves" || atom->name == "cnID" ||
@@ -476,7 +476,7 @@ MP4::Tag::save()
name == "shwm") {
data.append(renderBool(name.data(String::Latin1), it->second));
}
- else if(name == "tmpo" || name == "\251mvi" || name == "\251mvc") {
+ else if(name == "tmpo" || name == "rate" || name == "\251mvi" || name == "\251mvc") {
data.append(renderInt(name.data(String::Latin1), it->second));
}
else if(name == "tvsn" || name == "tves" || name == "cnID" ||