From 0419f2c2a716fffaaa035728ab824e927e373178 Mon Sep 17 00:00:00 2001 From: Jonathan Thomas Date: Wed, 17 Aug 2022 22:14:36 -0500 Subject: [PATCH] Fixing some whitespace issues --- src/FrameMapper.cpp | 2 +- tests/FrameMapper.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/FrameMapper.cpp b/src/FrameMapper.cpp index ac87e5a3..fb8f8909 100644 --- a/src/FrameMapper.cpp +++ b/src/FrameMapper.cpp @@ -773,7 +773,7 @@ void FrameMapper::ChangeMapping(Fraction target_fps, PulldownType target_pulldow info.fps.den = target_fps.den; info.video_timebase.num = target_fps.den; info.video_timebase.den = target_fps.num; - info.video_length = round(info.duration * info.fps.ToDouble()); + info.video_length = round(info.duration * info.fps.ToDouble()); pulldown = target_pulldown; info.sample_rate = target_sample_rate; info.channels = target_channels; diff --git a/tests/FrameMapper.cpp b/tests/FrameMapper.cpp index adb722a8..64cd67ee 100644 --- a/tests/FrameMapper.cpp +++ b/tests/FrameMapper.cpp @@ -198,7 +198,7 @@ TEST_CASE( "resample_audio_48000_to_41000", "[libopenshot][framemapper]" ) CHECK(map.GetFrame(1)->GetAudioSamplesCount() == Approx(882).margin(10.0)); CHECK(map.GetFrame(2)->GetAudioSamplesCount() == Approx(882).margin(10.0)); CHECK(map.GetFrame(50)->GetAudioSamplesCount() == Approx(882).margin(10.0)); - CHECK(map.info.video_length == 1299); + CHECK(map.info.video_length == 1299); // Close mapper map.Close();