From 6ecc8b8998dc8d40c6a04c2a4588215fc2bd89c0 Mon Sep 17 00:00:00 2001 From: Jonathan Thomas Date: Fri, 16 Sep 2022 10:21:54 -0500 Subject: [PATCH] Fixing white space issue --- src/Qt/VideoCacheThread.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Qt/VideoCacheThread.cpp b/src/Qt/VideoCacheThread.cpp index b36f0ad2..e27ddf78 100644 --- a/src/Qt/VideoCacheThread.cpp +++ b/src/Qt/VideoCacheThread.cpp @@ -62,19 +62,19 @@ namespace openshot } // Clear cache if previous frame outside the cached range, which means we are - // requesting a non-contiguous frame compared to our current cache range + // requesting a non-contigous frame compared to our current cache range if (!reader->GetCache()->Contains(previous_frame)) { Timeline *t = (Timeline *) reader; t->ClearAllCache(); } // Reset pre-roll when requested frame is not currently cached - if (start_preroll && reader && reader->GetCache() && !reader->GetCache()->Contains(new_position)) { + if (start_preroll && reader && reader->GetCache() && !reader->GetCache()->Contains(new_position)) { cached_frame_count = 0; if (speed == 0) { should_pause_cache = false; } - } + } Seek(new_position); }