fix building playouts with certain playlist changes (#1935)
* fix building playouts with certain playlist changes * update changelog
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user