From 9b8e3282fb533a187ae190eda24ab33534a9d415 Mon Sep 17 00:00:00 2001 From: Haesu Gwon Date: Mon, 16 Apr 2018 10:53:44 +0900 Subject: [PATCH] [Multimedia][Non-ACR] Change pts, dts default time Change-Id: Ib3cb463fcc651974d4233e3721259bb1683ef2c8 (cherry picked from commit 4d10b019777261979d15be27933e89eafc9f7f2f) --- .../Tizen.Multimedia.Tests/testcase/MediaTool/TSMediaPacket.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) mode change 100755 => 100644 tct-suite-vs/Tizen.Multimedia.Tests/testcase/MediaTool/TSMediaPacket.cs diff --git a/tct-suite-vs/Tizen.Multimedia.Tests/testcase/MediaTool/TSMediaPacket.cs b/tct-suite-vs/Tizen.Multimedia.Tests/testcase/MediaTool/TSMediaPacket.cs old mode 100755 new mode 100644 index 5ceb441..f0b1421 --- a/tct-suite-vs/Tizen.Multimedia.Tests/testcase/MediaTool/TSMediaPacket.cs +++ b/tct-suite-vs/Tizen.Multimedia.Tests/testcase/MediaTool/TSMediaPacket.cs @@ -10,6 +10,8 @@ namespace Tizen.Multimedia.Tests private static readonly MediaFormat SimpleFormat = new AudioMediaFormat(MediaFormatAudioMimeType.Aac, 1, 2, 3, 4); + private static ulong _timeDefault = ulong.MaxValue; + [Test] [Category("P2")] [Description("Throw a parameter is null when creating MediaPacket")] @@ -137,7 +139,7 @@ namespace Tizen.Multimedia.Tests { using (MediaPacket packet = MediaPacket.Create(SimpleFormat)) { - Assert.AreEqual(0u, packet.Pts); + Assert.AreEqual(_timeDefault, packet.Pts); } } @@ -169,7 +171,7 @@ namespace Tizen.Multimedia.Tests { using (MediaPacket packet = MediaPacket.Create(SimpleFormat)) { - Assert.AreEqual(0u, packet.Dts); + Assert.AreEqual(_timeDefault, packet.Dts); } } -- 2.7.4