fix: move trickplay specific option into TrickplayOptions (#11229)

This commit is contained in:
gnattu
2024-03-28 23:26:01 +08:00
committed by GitHub
parent aac96addfe
commit be21d51742
5 changed files with 10 additions and 7 deletions

View File

@@ -51,7 +51,6 @@ public class EncodingOptions
EnableHardwareEncoding = true;
AllowHevcEncoding = false;
AllowAv1Encoding = false;
AllowMjpegEncoding = false;
EnableSubtitleExtraction = true;
AllowOnDemandMetadataBasedKeyframeExtractionForExtensions = new[] { "mkv" };
HardwareDecodingCodecs = new string[] { "h264", "vc1" };
@@ -262,11 +261,6 @@ public class EncodingOptions
/// </summary>
public bool AllowAv1Encoding { get; set; }
/// <summary>
/// Gets or sets a value indicating whether MJPEG encoding is enabled.
/// </summary>
public bool AllowMjpegEncoding { get; set; }
/// <summary>
/// Gets or sets a value indicating whether subtitle extraction is enabled.
/// </summary>