mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-04 09:16:17 +00:00
changed ChapterImageResolution in model to enum type;
added 144p to the ImageResolution enum; updated chapters limit comment inside FFProbeVideoInfo.cs;
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using MediaBrowser.Model.Drawing;
|
||||
using MediaBrowser.Model.Dto;
|
||||
using MediaBrowser.Model.Updates;
|
||||
|
||||
@@ -257,6 +258,6 @@ namespace MediaBrowser.Model.Configuration
|
||||
/// Gets or sets the chapter image resolution.
|
||||
/// </summary>
|
||||
/// <value>The chapter image resolution.</value>
|
||||
public string ChapterImageResolution { get; set; } = "Match Source";
|
||||
public ImageResolution ChapterImageResolution { get; set; } = ImageResolution.MatchSource;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,6 +5,16 @@ namespace MediaBrowser.Model.Drawing
|
||||
/// </summary>
|
||||
public enum ImageResolution
|
||||
{
|
||||
/// <summary>
|
||||
/// MatchSource.
|
||||
/// </summary>
|
||||
MatchSource,
|
||||
|
||||
/// <summary>
|
||||
/// 144p.
|
||||
/// </summary>
|
||||
P144,
|
||||
|
||||
/// <summary>
|
||||
/// 240p.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user