Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nate Graham
Kid3
Commits
3e7d5bec
Commit
3e7d5bec
authored
Jun 09, 2011
by
Urs Fleisch
Browse files
Fix bug for M4A with TagLib: Total was not correctly stored in Track/Disc Number.
parent
18ab38aa
Changes
1
Show whitespace changes
Inline
Side-by-side
kid3/taglibfile.cpp
View file @
3e7d5bec
...
@@ -3193,8 +3193,8 @@ static TagLib::MP4::Item getMp4ItemForFrame(const Frame& frame, TagLib::String&
...
@@ -3193,8 +3193,8 @@ static TagLib::MP4::Item getMp4ItemForFrame(const Frame& frame, TagLib::String&
QString
str1
=
frame
.
getValue
(),
str2
=
"0"
;
QString
str1
=
frame
.
getValue
(),
str2
=
"0"
;
int
slashPos
=
str1
.
indexOf
(
'/'
);
int
slashPos
=
str1
.
indexOf
(
'/'
);
if
(
slashPos
!=
-
1
)
{
if
(
slashPos
!=
-
1
)
{
str1
.
truncate
(
slashPos
);
str2
=
str1
.
mid
(
slashPos
+
1
);
str2
=
str1
.
mid
(
slashPos
+
1
);
str1
.
truncate
(
slashPos
);
}
}
return
TagLib
::
MP4
::
Item
(
str1
.
toInt
(),
str2
.
toInt
());
return
TagLib
::
MP4
::
Item
(
str1
.
toInt
(),
str2
.
toInt
());
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment