summaryrefslogtreecommitdiff
path: root/src/playlist/cue
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-07-12 18:53:08 +0200
committerMax Kellermann <max@duempel.org>2014-07-12 18:54:20 +0200
commit5ca6e2910ae0a8a2d1fa7b16f56130d533251ff9 (patch)
treeae1ec5b9077c273029e1959a163eeba32ba4c1e8 /src/playlist/cue
parent071d05465a109afa0781ce829bec3ff5ed3150e9 (diff)
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.
Diffstat (limited to 'src/playlist/cue')
-rw-r--r--src/playlist/cue/CueParser.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/playlist/cue/CueParser.cxx b/src/playlist/cue/CueParser.cxx
index dc96218f4..fd467dbc0 100644
--- a/src/playlist/cue/CueParser.cxx
+++ b/src/playlist/cue/CueParser.cxx
@@ -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);