From e12888ebee44bbcf81bee5e5b69a695ddeb0070f Mon Sep 17 00:00:00 2001 From: Jason Dove <1695733+jasongdove@users.noreply.github.com> Date: Wed, 3 Dec 2025 07:33:17 -0600 Subject: [PATCH] fix recent regression to subtitle graphics element (#2696) --- .../Streaming/Graphics/Subtitle/SubtitleElement.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ErsatzTV.Infrastructure/Streaming/Graphics/Subtitle/SubtitleElement.cs b/ErsatzTV.Infrastructure/Streaming/Graphics/Subtitle/SubtitleElement.cs index 861ba4e46..c3f18d8e0 100644 --- a/ErsatzTV.Infrastructure/Streaming/Graphics/Subtitle/SubtitleElement.cs +++ b/ErsatzTV.Infrastructure/Streaming/Graphics/Subtitle/SubtitleElement.cs @@ -103,7 +103,7 @@ public class SubtitleElement( "-nostdin", "-hide_banner", "-nostats", "-loglevel", "error", "-f", "lavfi", "-i", - $"color=c=black@0.0:s={context.FrameSize.Width}x{context.FrameSize.Height}:r={context.FrameRate},format=bgra,subtitles={subtitleFile}:fontsdir={fontsDir}:alpha=1", + $"color=c=black@0.0:s={context.FrameSize.Width}x{context.FrameSize.Height}:r={context.FrameRate.RFrameRate},format=bgra,subtitles={subtitleFile}:fontsdir={fontsDir}:alpha=1", "-f", "image2pipe", "-pix_fmt", "bgra", "-vcodec", "rawvideo",