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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user