fix content_total_duration in graphics engine (#2643)

This commit is contained in:
Jason Dove
2025-11-12 20:07:54 -06:00
committed by GitHub
parent 48b1aa3e64
commit 6603500132
9 changed files with 24 additions and 15 deletions
@@ -85,6 +85,7 @@ public class FFmpegLibraryProcessService : IFFmpegProcessService
DateTimeOffset start,
DateTimeOffset finish,
DateTimeOffset now,
TimeSpan originalContentDuration,
List<WatermarkOptions> watermarks,
List<PlayoutItemGraphicsElement> graphicsElements,
string vaapiDisplay,
@@ -530,7 +531,8 @@ public class FFmpegLibraryProcessService : IFFmpegProcessService
channelStartTime,
start,
await playbackSettings.StreamSeek.IfNoneAsync(TimeSpan.Zero),
finish - now);
finish - now,
originalContentDuration);
context = await _graphicsElementLoader.LoadAll(context, graphicsElements, cancellationToken);