From 467576d6d99e5e3f0664336bde70a351c6400ec6 Mon Sep 17 00:00:00 2001 From: Dan Dennedy Date: Fri, 25 Oct 2024 15:38:41 -0700 Subject: [PATCH] fix unit test for previous commit --- src/tests/test_properties/test_properties.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tests/test_properties/test_properties.cpp b/src/tests/test_properties/test_properties.cpp index f4f16a3e8..89ee21736 100644 --- a/src/tests/test_properties/test_properties.cpp +++ b/src/tests/test_properties/test_properties.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013-2018 Dan Dennedy + * Copyright (C) 2013-2024 Dan Dennedy * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -244,7 +244,7 @@ private Q_SLOTS: Profile profile("atsc_720p_2398"); Properties p; p.set("_profile", profile.get_profile(), 0); - const char *timeString = "11:22:33:04"; + const char *timeString = "11:22:33;04"; // 11 * 3600 + 22 * 60 + 33 = 40953 s // floor(23.98 fps * 40953 s) = 981890 f // 981890 f + 4 f = 981894 f @@ -264,7 +264,7 @@ private Q_SLOTS: // Case that is known to have floating point error frames = 2877; p.set("key", frames); - QCOMPARE(p.get_time("key", mlt_time_smpte_df), "00:02:00:00"); + QCOMPARE(p.get_time("key", mlt_time_smpte_df), "00:02:00;00"); QCOMPARE(p.get_time("key", mlt_time_clock), "00:02:00.000"); if (kRunLongTests)