Browse Source

fix speed parsing (#2522)

pull/2523/head
Jason Dove 3 months ago committed by GitHub
parent
commit
99837e808a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      CHANGELOG.md
  2. 2
      ErsatzTV.Application/Troubleshooting/Commands/StartTroubleshootingPlaybackHandler.cs

2
CHANGELOG.md

@ -19,7 +19,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). @@ -19,7 +19,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Add empty (but already up-to-date) sqlite3 database to greatly speed up initial startup for fresh installs
- Add button to copy/clone block from blocks table
- Add playback speed to playback troubleshooting output
- Speed is realative to realtime (1.0x is realtime)
- Speed is relative to realtime (1.0x is realtime)
- Speeds < 0.9x will be colored red, between 0.9x and 1.1x colored yellow, and > 1.1x colored green
### Fixed

2
ErsatzTV.Application/Troubleshooting/Commands/StartTroubleshootingPlaybackHandler.cs

@ -206,6 +206,6 @@ public partial class StartTroubleshootingPlaybackHandler( @@ -206,6 +206,6 @@ public partial class StartTroubleshootingPlaybackHandler(
}
}
[GeneratedRegex(@"speed=([\d\.]+)x", RegexOptions.IgnoreCase)]
[GeneratedRegex(@"speed=\s*([\d\.]+)x", RegexOptions.IgnoreCase)]
private static partial Regex FFmpegSpeed();
}

Loading…
Cancel
Save