PlaylistSong, CueParser: don't override Tag::time

Now that Song::GetDuration() is used (which considers start_ms and
end_ms), we don't need to override the Tag's duration value.
This commit is contained in:
Max Kellermann
2014-07-12 18:53:08 +02:00
parent 071d05465a
commit 5ca6e2910a
2 changed files with 0 additions and 11 deletions

View File

@@ -270,8 +270,6 @@ CueParser::Feed2(char *p)
previous->GetStartMS() < (unsigned)position_ms) {
last_updated = true;
previous->SetEndMS(position_ms);
previous->WritableTag().time =
(previous->GetEndMS() - previous->GetStartMS() + 500) / 1000;
}
current->SetStartMS(position_ms);