Browse Source

fix intermittent watermark opacity (#2523)

pull/2524/head
Jason Dove 10 months ago committed by GitHub
parent
commit
5ef8b04119
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 2
      ErsatzTV.Infrastructure/Streaming/Graphics/Image/WatermarkElement.cs

1
CHANGELOG.md

@ -26,6 +26,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Fix NVIDIA startup errors on arm64 - Fix NVIDIA startup errors on arm64
- Fix remote stream durations in playouts created using block, sequential or scripted schedules - Fix remote stream durations in playouts created using block, sequential or scripted schedules
- Fix playback troubleshooting selecting a subtitle even with no subtitle stream selected in the UI - Fix playback troubleshooting selecting a subtitle even with no subtitle stream selected in the UI
- Fix intermittent watermark opacity
### Changed ### Changed
- Do not use graphics engine for single, permanent watermark - Do not use graphics engine for single, permanent watermark

2
ErsatzTV.Infrastructure/Streaming/Graphics/Image/WatermarkElement.cs

@ -45,7 +45,7 @@ public class WatermarkElement : ImageElementBase
0 0
) )
) )
)"; ) * {_watermark.Opacity / 100.0f}";
_maybeOpacityExpression = new Expression(expressionString); _maybeOpacityExpression = new Expression(expressionString);
} }
else if (_watermark.Mode is ChannelWatermarkMode.OpacityExpression && else if (_watermark.Mode is ChannelWatermarkMode.OpacityExpression &&

Loading…
Cancel
Save