aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-04-21 16:31:04 +0200
committerChocobozzz <chocobozzz@cpy.re>2023-05-09 08:57:34 +0200
commitcc2abbc320ea66296bf45314a2efb47d16b38374 (patch)
tree488882ef5752d790f9e16800fb76dd3dd3cb6a7b /shared/models
parent1772b383de490cf406fe93ef3aa3a941f6db513c (diff)
downloadPeerTube-cc2abbc320ea66296bf45314a2efb47d16b38374.tar.gz
PeerTube-cc2abbc320ea66296bf45314a2efb47d16b38374.tar.zst
PeerTube-cc2abbc320ea66296bf45314a2efb47d16b38374.zip
Fix next video state after optimize/audio merge
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/server/job.model.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/shared/models/server/job.model.ts b/shared/models/server/job.model.ts
index 16187d133..3fd5bf7f9 100644
--- a/shared/models/server/job.model.ts
+++ b/shared/models/server/job.model.ts
@@ -158,14 +158,19 @@ export interface NewWebTorrentResolutionTranscodingPayload extends BaseTranscodi
158 158
159export interface MergeAudioTranscodingPayload extends BaseTranscodingPayload { 159export interface MergeAudioTranscodingPayload extends BaseTranscodingPayload {
160 type: 'merge-audio-to-webtorrent' 160 type: 'merge-audio-to-webtorrent'
161
161 resolution: VideoResolution 162 resolution: VideoResolution
162 fps: number 163 fps: number
164
165 hasChildren: boolean
163} 166}
164 167
165export interface OptimizeTranscodingPayload extends BaseTranscodingPayload { 168export interface OptimizeTranscodingPayload extends BaseTranscodingPayload {
166 type: 'optimize-to-webtorrent' 169 type: 'optimize-to-webtorrent'
167 170
168 quickTranscode: boolean 171 quickTranscode: boolean
172
173 hasChildren: boolean
169} 174}
170 175
171export type VideoTranscodingPayload = 176export type VideoTranscodingPayload =