diff options
author | Chocobozzz <me@florianbigard.com> | 2023-04-21 16:31:04 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2023-05-09 08:57:34 +0200 |
commit | cc2abbc320ea66296bf45314a2efb47d16b38374 (patch) | |
tree | 488882ef5752d790f9e16800fb76dd3dd3cb6a7b /shared/models/server | |
parent | 1772b383de490cf406fe93ef3aa3a941f6db513c (diff) | |
download | PeerTube-cc2abbc320ea66296bf45314a2efb47d16b38374.tar.gz PeerTube-cc2abbc320ea66296bf45314a2efb47d16b38374.tar.zst PeerTube-cc2abbc320ea66296bf45314a2efb47d16b38374.zip |
Fix next video state after optimize/audio merge
Diffstat (limited to 'shared/models/server')
-rw-r--r-- | shared/models/server/job.model.ts | 5 |
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 | ||
159 | export interface MergeAudioTranscodingPayload extends BaseTranscodingPayload { | 159 | export 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 | ||
165 | export interface OptimizeTranscodingPayload extends BaseTranscodingPayload { | 168 | export 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 | ||
171 | export type VideoTranscodingPayload = | 176 | export type VideoTranscodingPayload = |