Browse Source

fix recent regression to subtitle graphics element (#2696)

pull/2697/head
Jason Dove 4 weeks ago committed by GitHub
parent
commit
e12888ebee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      ErsatzTV.Infrastructure/Streaming/Graphics/Subtitle/SubtitleElement.cs

2
ErsatzTV.Infrastructure/Streaming/Graphics/Subtitle/SubtitleElement.cs

@ -103,7 +103,7 @@ public class SubtitleElement( @@ -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",

Loading…
Cancel
Save