From 044ee4520bff3b0e7367ad85861b6c76267e6f74 Mon Sep 17 00:00:00 2001 From: palana Date: Tue, 11 Mar 2014 17:56:46 +0100 Subject: [PATCH] Fix unintended switch fall through in DShowSource This shouldn't have any visible impact except for slightly lower memory usage for retro deinterlacing --- DShowPlugin/DeviceSource.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/DShowPlugin/DeviceSource.cpp b/DShowPlugin/DeviceSource.cpp index 2a29fd45..036c6c25 100644 --- a/DShowPlugin/DeviceSource.cpp +++ b/DShowPlugin/DeviceSource.cpp @@ -754,6 +754,7 @@ bool DeviceSource::LoadFilters() linePitch = lineSize * 2; renderCY /= 2; break; + case DEINTERLACING_RETRO: deinterlacer.imageCY = renderCY/2; if(deinterlacer.processor != DEINTERLACING_PROCESSOR_GPU) @@ -763,6 +764,8 @@ bool DeviceSource::LoadFilters() renderCY /= 2; renderCX *= 2; } + break; + case DEINTERLACING__DEBUG: deinterlacer.imageCX *= 2; deinterlacer.imageCY *= 2;