Browse Source

fix error display (#1099)

* fix error display by ignoring hw accel setting

* update changelog

* revert background change
pull/1102/head
Jason Dove 3 years ago committed by GitHub
parent
commit
36ea88e2d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      CHANGELOG.md
  2. 9
      ErsatzTV.Core/FFmpeg/FFmpegPlaybackSettingsCalculator.cs

3
CHANGELOG.md

@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file. @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased]
### Changed
- Always use software pipeline for error display
- This ensures errors will display even when hardware acceleration is misconfigured
## [0.7.2-beta] - 2023-01-05
### Fixed

9
ErsatzTV.Core/FFmpeg/FFmpegPlaybackSettingsCalculator.cs

@ -39,12 +39,6 @@ public class FFmpegPlaybackSettingsCalculator @@ -39,12 +39,6 @@ public class FFmpegPlaybackSettingsCalculator
"+igndts"
};
public FFmpegPlaybackSettings ConcatSettings => new()
{
ThreadCount = 1,
FormatFlags = CommonFormatFlags
};
public FFmpegPlaybackSettings CalculateSettings(
StreamingMode streamingMode,
FFmpegProfile ffmpegProfile,
@ -181,7 +175,8 @@ public class FFmpegPlaybackSettingsCalculator @@ -181,7 +175,8 @@ public class FFmpegPlaybackSettingsCalculator
bool hlsRealtime) =>
new()
{
HardwareAcceleration = ffmpegProfile.HardwareAcceleration,
// HardwareAcceleration = ffmpegProfile.HardwareAcceleration,
HardwareAcceleration = HardwareAccelerationKind.None,
FormatFlags = CommonFormatFlags,
VideoFormat = ffmpegProfile.VideoFormat,
VideoBitrate = ffmpegProfile.VideoBitrate,

Loading…
Cancel
Save