mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #6274 from thornbill/restore-max-resolution-params
Restore max width and height params (cherry picked from commit d8b9f4dc2dafbdcc104529543f2c7a996499534e) Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
parent
f6be0e2d1d
commit
26990eac71
@ -304,6 +304,8 @@ namespace Jellyfin.Api.Controllers
|
|||||||
/// <param name="startTimeTicks">Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.</param>
|
/// <param name="startTimeTicks">Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.</param>
|
||||||
/// <param name="width">Optional. The fixed horizontal resolution of the encoded video.</param>
|
/// <param name="width">Optional. The fixed horizontal resolution of the encoded video.</param>
|
||||||
/// <param name="height">Optional. The fixed vertical resolution of the encoded video.</param>
|
/// <param name="height">Optional. The fixed vertical resolution of the encoded video.</param>
|
||||||
|
/// <param name="maxWidth">Optional. The maximum horizontal resolution of the encoded video.</param>
|
||||||
|
/// <param name="maxHeight">Optional. The maximum vertical resolution of the encoded video.</param>
|
||||||
/// <param name="videoBitRate">Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.</param>
|
/// <param name="videoBitRate">Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.</param>
|
||||||
/// <param name="subtitleStreamIndex">Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.</param>
|
/// <param name="subtitleStreamIndex">Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.</param>
|
||||||
/// <param name="subtitleMethod">Optional. Specify the subtitle delivery method.</param>
|
/// <param name="subtitleMethod">Optional. Specify the subtitle delivery method.</param>
|
||||||
@ -360,6 +362,8 @@ namespace Jellyfin.Api.Controllers
|
|||||||
[FromQuery] long? startTimeTicks,
|
[FromQuery] long? startTimeTicks,
|
||||||
[FromQuery] int? width,
|
[FromQuery] int? width,
|
||||||
[FromQuery] int? height,
|
[FromQuery] int? height,
|
||||||
|
[FromQuery] int? maxWidth,
|
||||||
|
[FromQuery] int? maxHeight,
|
||||||
[FromQuery] int? videoBitRate,
|
[FromQuery] int? videoBitRate,
|
||||||
[FromQuery] int? subtitleStreamIndex,
|
[FromQuery] int? subtitleStreamIndex,
|
||||||
[FromQuery] SubtitleDeliveryMethod? subtitleMethod,
|
[FromQuery] SubtitleDeliveryMethod? subtitleMethod,
|
||||||
@ -414,6 +418,8 @@ namespace Jellyfin.Api.Controllers
|
|||||||
StartTimeTicks = startTimeTicks,
|
StartTimeTicks = startTimeTicks,
|
||||||
Width = width,
|
Width = width,
|
||||||
Height = height,
|
Height = height,
|
||||||
|
MaxWidth = maxWidth,
|
||||||
|
MaxHeight = maxHeight,
|
||||||
VideoBitRate = videoBitRate,
|
VideoBitRate = videoBitRate,
|
||||||
SubtitleStreamIndex = subtitleStreamIndex,
|
SubtitleStreamIndex = subtitleStreamIndex,
|
||||||
SubtitleMethod = subtitleMethod ?? SubtitleDeliveryMethod.Encode,
|
SubtitleMethod = subtitleMethod ?? SubtitleDeliveryMethod.Encode,
|
||||||
@ -560,6 +566,8 @@ namespace Jellyfin.Api.Controllers
|
|||||||
/// <param name="startTimeTicks">Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.</param>
|
/// <param name="startTimeTicks">Optional. Specify a starting offset, in ticks. 1 tick = 10000 ms.</param>
|
||||||
/// <param name="width">Optional. The fixed horizontal resolution of the encoded video.</param>
|
/// <param name="width">Optional. The fixed horizontal resolution of the encoded video.</param>
|
||||||
/// <param name="height">Optional. The fixed vertical resolution of the encoded video.</param>
|
/// <param name="height">Optional. The fixed vertical resolution of the encoded video.</param>
|
||||||
|
/// <param name="maxWidth">Optional. The maximum horizontal resolution of the encoded video.</param>
|
||||||
|
/// <param name="maxHeight">Optional. The maximum vertical resolution of the encoded video.</param>
|
||||||
/// <param name="videoBitRate">Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.</param>
|
/// <param name="videoBitRate">Optional. Specify a video bitrate to encode to, e.g. 500000. If omitted this will be left to encoder defaults.</param>
|
||||||
/// <param name="subtitleStreamIndex">Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.</param>
|
/// <param name="subtitleStreamIndex">Optional. The index of the subtitle stream to use. If omitted no subtitles will be used.</param>
|
||||||
/// <param name="subtitleMethod">Optional. Specify the subtitle delivery method.</param>
|
/// <param name="subtitleMethod">Optional. Specify the subtitle delivery method.</param>
|
||||||
@ -616,6 +624,8 @@ namespace Jellyfin.Api.Controllers
|
|||||||
[FromQuery] long? startTimeTicks,
|
[FromQuery] long? startTimeTicks,
|
||||||
[FromQuery] int? width,
|
[FromQuery] int? width,
|
||||||
[FromQuery] int? height,
|
[FromQuery] int? height,
|
||||||
|
[FromQuery] int? maxWidth,
|
||||||
|
[FromQuery] int? maxHeight,
|
||||||
[FromQuery] int? videoBitRate,
|
[FromQuery] int? videoBitRate,
|
||||||
[FromQuery] int? subtitleStreamIndex,
|
[FromQuery] int? subtitleStreamIndex,
|
||||||
[FromQuery] SubtitleDeliveryMethod? subtitleMethod,
|
[FromQuery] SubtitleDeliveryMethod? subtitleMethod,
|
||||||
@ -667,6 +677,8 @@ namespace Jellyfin.Api.Controllers
|
|||||||
startTimeTicks,
|
startTimeTicks,
|
||||||
width,
|
width,
|
||||||
height,
|
height,
|
||||||
|
maxWidth,
|
||||||
|
maxHeight,
|
||||||
videoBitRate,
|
videoBitRate,
|
||||||
subtitleStreamIndex,
|
subtitleStreamIndex,
|
||||||
subtitleMethod,
|
subtitleMethod,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user