From 09297f411686b23bf0b3326e4fa80e0f51675434 Mon Sep 17 00:00:00 2001 From: Dave Rice Date: Thu, 7 Sep 2023 14:19:19 -0400 Subject: [PATCH] fix some instances of audio filter players --- Source/GUI/filters.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/GUI/filters.h b/Source/GUI/filters.h index 91629a2b7..c690a63d9 100644 --- a/Source/GUI/filters.h +++ b/Source/GUI/filters.h @@ -986,8 +986,8 @@ const filter Filters[] = { Args_Type_None, 0, 0, 0, 0, nullptr }, }, { - "showwaves=mode=${3}:n=${2}:s=${width}x${height}:split_channels=0,negate", - "showwaves=mode=${3}:n=${2}:s=${width}x${height}:split_channels=1,negate", + "aformat=sample_fmts=flt|fltp:channel_layouts=stereo,showwaves=mode=${3}:n=${2}:s=${width}x${height}:split_channels=0,negate", + "aformat=sample_fmts=flt|fltp:channel_layouts=stereo,showwaves=mode=${3}:n=${2}:s=${width}x${height}:split_channels=1,negate", }, }, { @@ -1099,7 +1099,7 @@ const filter Filters[] = { Args_Type_None, 0, 0, 0, 0, nullptr }, }, { - "ebur128=video=1:meter=${1}[out0][out1];[out1]anullsink;[out0]copy", + "aformat=sample_fmts=flt|fltp:channel_layouts=stereo,ebur128=video=1:meter=${1}[out0][out1];[out1]anullsink;[out0]copy", }, }, {