Merge pull request #7496 from crobibero/transcode-reason

This commit is contained in:
Cody Robibero 2022-03-26 14:32:54 -06:00 committed by GitHub
commit 003c48e351
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -480,7 +480,7 @@ namespace Jellyfin.Api.Helpers
IsAudioDirect = EncodingHelper.IsCopyCodec(state.OutputAudioCodec), IsAudioDirect = EncodingHelper.IsCopyCodec(state.OutputAudioCodec),
IsVideoDirect = EncodingHelper.IsCopyCodec(state.OutputVideoCodec), IsVideoDirect = EncodingHelper.IsCopyCodec(state.OutputVideoCodec),
HardwareAccelerationType = hardwareAccelerationType, HardwareAccelerationType = hardwareAccelerationType,
TranscodeReason = state.TranscodeReason TranscodeReasons = state.TranscodeReasons
}); });
} }
} }

View file

@ -35,7 +35,7 @@ namespace MediaBrowser.Controller.MediaEncoding
SupportedSubtitleCodecs = Array.Empty<string>(); SupportedSubtitleCodecs = Array.Empty<string>();
} }
public TranscodeReason TranscodeReason public TranscodeReason TranscodeReasons
{ {
get get
{ {

View file

@ -29,6 +29,6 @@ namespace MediaBrowser.Model.Session
public HardwareEncodingType? HardwareAccelerationType { get; set; } public HardwareEncodingType? HardwareAccelerationType { get; set; }
public TranscodeReason TranscodeReason { get; set; } public TranscodeReason TranscodeReasons { get; set; }
} }
} }