aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/models/server/job.model.ts9
1 files changed, 7 insertions, 2 deletions
diff --git a/shared/models/server/job.model.ts b/shared/models/server/job.model.ts
index ecc960da5..8a69d11fa 100644
--- a/shared/models/server/job.model.ts
+++ b/shared/models/server/job.model.ts
@@ -103,18 +103,23 @@ interface BaseTranscodingPayload {
103 103
104export interface HLSTranscodingPayload extends BaseTranscodingPayload { 104export interface HLSTranscodingPayload extends BaseTranscodingPayload {
105 type: 'new-resolution-to-hls' 105 type: 'new-resolution-to-hls'
106 isPortraitMode?: boolean
107 resolution: VideoResolution 106 resolution: VideoResolution
108 copyCodecs: boolean 107 copyCodecs: boolean
109 108
109 hasAudio: boolean
110 isPortraitMode?: boolean
111
110 autoDeleteWebTorrentIfNeeded: boolean 112 autoDeleteWebTorrentIfNeeded: boolean
111 isMaxQuality: boolean 113 isMaxQuality: boolean
112} 114}
113 115
114export interface NewResolutionTranscodingPayload extends BaseTranscodingPayload { 116export interface NewResolutionTranscodingPayload extends BaseTranscodingPayload {
115 type: 'new-resolution-to-webtorrent' 117 type: 'new-resolution-to-webtorrent'
116 isPortraitMode?: boolean
117 resolution: VideoResolution 118 resolution: VideoResolution
119
120 hasAudio: boolean
121
122 isPortraitMode?: boolean
118} 123}
119 124
120export interface MergeAudioTranscodingPayload extends BaseTranscodingPayload { 125export interface MergeAudioTranscodingPayload extends BaseTranscodingPayload {