Browse Source

fix vaapi h264 constrained baseline decode (#2473)

* fix vaapi h264 constrained baseline decode

* update changelog
pull/2474/head
Jason Dove 8 months ago committed by GitHub
parent
commit
077fed6cac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      CHANGELOG.md
  2. 2
      ErsatzTV.FFmpeg/Capabilities/VaapiHardwareCapabilities.cs

3
CHANGELOG.md

@ -89,7 +89,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- GIFs flagged to loop forever will loop forever - GIFs flagged to loop forever will loop forever
- GIFs with a specific loop count will loop the specified number of times and then hold the final frame - GIFs with a specific loop count will loop the specified number of times and then hold the final frame
- Note that looping is relative to the start of the content, so this works best with permanent watermarks - Note that looping is relative to the start of the content, so this works best with permanent watermarks
- Fix some more hls.js warnins by adding codec information to multi-variant playlists - Fix some more hls.js warnings by adding codec information to multi-variant playlists
- Fix hardware decode of h264 constrained baseline content using VAAPI accel
### Changed ### Changed
- Filler presets: use separate text fields for `hours`, `minutes` and `seconds` duration - Filler presets: use separate text fields for `hours`, `minutes` and `seconds` duration

2
ErsatzTV.FFmpeg/Capabilities/VaapiHardwareCapabilities.cs

@ -54,7 +54,7 @@ public class VaapiHardwareCapabilities : IHardwareCapabilities
VaapiEntrypoint: VaapiEntrypoint.Decode VaapiEntrypoint: VaapiEntrypoint.Decode
}), }),
(VideoFormat.H264, "baseline constrained" or "578") => (VideoFormat.H264, "baseline constrained" or "constrained baseline" or "578") =>
_profileEntrypoints.Any(e => e is _profileEntrypoints.Any(e => e is
{ {
VaapiProfile: VaapiProfile.H264ConstrainedBaseline, VaapiProfile: VaapiProfile.H264ConstrainedBaseline,

Loading…
Cancel
Save