Fix TranscodeReasons property name

This commit is contained in:
Cody Robibero 2022-03-26 12:20:29 -06:00
parent 4fa7f49ffc
commit 96a03776e1
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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