@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
@@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- This allows specifying an expression that returns an opacity between 0.0 and 1.0
- The expression can use:
- `content_seconds` - the total number of seconds the frame is into the content
- `content_total_seconds` - the total number of seconds in the content
- `channel_seconds` - the total number of seconds the frame is from when the channel started/activated
- `time_of_day_seconds` - the total number of seconds the frame is since midnight
@ -35,6 +35,9 @@ public class GraphicsEngine(ILogger<GraphicsEngine> logger) : IGraphicsEngine
@@ -35,6 +35,9 @@ public class GraphicsEngine(ILogger<GraphicsEngine> logger) : IGraphicsEngine
try
{
// `content_total_seconds` - the total number of seconds in the content
@ -64,7 +67,13 @@ public class GraphicsEngine(ILogger<GraphicsEngine> logger) : IGraphicsEngine
@@ -64,7 +67,13 @@ public class GraphicsEngine(ILogger<GraphicsEngine> logger) : IGraphicsEngine
@ -121,6 +121,7 @@ public class WatermarkElement : IGraphicsElement, IDisposable
@@ -121,6 +121,7 @@ public class WatermarkElement : IGraphicsElement, IDisposable
objectcontext,
TimeSpantimeOfDay,
TimeSpancontentTime,
TimeSpancontentTotalTime,
TimeSpanchannelTime,
CancellationTokencancellationToken)
{
@ -130,6 +131,7 @@ public class WatermarkElement : IGraphicsElement, IDisposable
@@ -130,6 +131,7 @@ public class WatermarkElement : IGraphicsElement, IDisposable