Browse Source

fix pad_to_next always running over time (#2207)

pull/2210/head
Jason Dove 1 year ago committed by GitHub
parent
commit
deff33c76c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      CHANGELOG.md
  2. 2
      ErsatzTV.Core/Scheduling/YamlScheduling/Handlers/YamlPlayoutPadToNextHandler.cs

1
CHANGELOG.md

@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased] ## [Unreleased]
### Fixed ### Fixed
- Fix app startup with MySql/MariaDB - Fix app startup with MySql/MariaDB
- YAML playout: fix `pad_to_next` always running over time
### Changed ### Changed
- Always tell ffmpeg to stop encoding with a specific duration - Always tell ffmpeg to stop encoding with a specific duration

2
ErsatzTV.Core/Scheduling/YamlScheduling/Handlers/YamlPlayoutPadToNextHandler.cs

@ -59,7 +59,7 @@ public class YamlPlayoutPadToNextHandler(EnumeratorCache enumeratorCache) : Yaml
padToNext.Content, padToNext.Content,
padToNext.Fallback, padToNext.Fallback,
targetTime, targetTime,
false, stopBeforeEnd: true,
padToNext.DiscardAttempts, padToNext.DiscardAttempts,
padToNext.Trim, padToNext.Trim,
true, true,

Loading…
Cancel
Save