From e8388405480102bdb6cd3f7c239faa38fb14f755 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sun, 3 Nov 2019 19:56:10 +0100 Subject: [PATCH] Remove duplicate check --- src/engine/gstengine.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/engine/gstengine.cpp b/src/engine/gstengine.cpp index 782f5778d..6cf817e19 100644 --- a/src/engine/gstengine.cpp +++ b/src/engine/gstengine.cpp @@ -814,7 +814,6 @@ void GstEngine::UpdateScope(const int chunk_length) { scope_chunk_++; if (buffer_format_.startsWith("S16") || - buffer_format_.startsWith("S16") || buffer_format_.startsWith("U16") || buffer_format_.startsWith("S32")) { memcpy(dest, source, bytes);