aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-01-06 17:55:37 +0100
committerChocobozzz <me@florianbigard.com>2022-01-06 17:55:37 +0100
commitcbe2f36d93c779ca08424336be7e3988e57be01d (patch)
tree49b46f450d6cabbd3b3b86dc25d0e3f3a2b4ab94 /shared/models
parent78a5dd9c69af1b1fcae48a25053b569aa0eae626 (diff)
downloadPeerTube-cbe2f36d93c779ca08424336be7e3988e57be01d.tar.gz
PeerTube-cbe2f36d93c779ca08424336be7e3988e57be01d.tar.zst
PeerTube-cbe2f36d93c779ca08424336be7e3988e57be01d.zip
Fix audio transcoding with video only file
Diffstat (limited to 'shared/models')
-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 {