fix building playouts with certain playlist changes (#1935)

* fix building playouts with certain playlist changes

* update changelog
This commit is contained in:
Jason Dove
2024-11-13 14:38:07 -06:00
committed by GitHub
parent e4ff825ae8
commit f75bb25a1a
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -21,6 +21,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Fix `Scaling Behavior` `Crop` when content is smaller than FFmpeg Profile resolution
- Now, content will properly scale beyond the desired resolution before cropping
- Fix displaying playout item durations that are greater than 24 hours
- Fix building playouts when playlist has been changed to have fewer items
## [0.8.8-beta] - 2024-09-19
### Added
@@ -195,6 +195,12 @@ public class PlaylistEnumerator : IMediaCollectionEnumerator
while (result.State.Index < state.Index)
{
result.MoveNext();
// previous state is no longer valid; playlist now has fewer items
if (result.State.Index == 0)
{
break;
}
}
return result;