From 2303dfb455858846dbd12a600ed26be93676134d Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Thu, 23 Oct 2014 14:03:32 +0200 Subject: [PATCH] Reworked StringFromTime and TimeFromString to show three digit for the last value. --- Classes/PropertyView/SBChapterViewController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/PropertyView/SBChapterViewController.m b/Classes/PropertyView/SBChapterViewController.m index 8710924..b3d755c 100755 --- a/Classes/PropertyView/SBChapterViewController.m +++ b/Classes/PropertyView/SBChapterViewController.m @@ -49,7 +49,7 @@ { MP42TextSample * chapter = [track chapterAtIndex:rowIndex]; if ([tableColumn.identifier isEqualToString:@"time"]) - return [self boldString:SMPTEStringFromTime(chapter.timestamp, 1000)]; + return [self boldString:StringFromTime(chapter.timestamp, 1000)]; if ([tableColumn.identifier isEqualToString:@"title"]) return chapter.title; @@ -72,7 +72,7 @@ } } else if ([tableColumn.identifier isEqualToString:@"time"]) { - MP42Duration timestamp = TimeFromSMPTEString(anObject, 1000); + MP42Duration timestamp = TimeFromString(anObject, 1000); if (!(chapter.timestamp == timestamp)) { [track setTimestamp:timestamp forChapter:chapter];