diff options
author | Chocobozzz <me@florianbigard.com> | 2022-09-16 13:31:59 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-09-16 13:48:06 +0200 |
commit | 3c4754a3a16939337bfeb90c375fbb9e0f7d91fb (patch) | |
tree | 92991013bc8250135710b5722339aa75d116a90f /server/lib | |
parent | 6235c0b8dcb941312da644bf62ba202c10b71e74 (diff) | |
download | PeerTube-3c4754a3a16939337bfeb90c375fbb9e0f7d91fb.tar.gz PeerTube-3c4754a3a16939337bfeb90c375fbb9e0f7d91fb.tar.zst PeerTube-3c4754a3a16939337bfeb90c375fbb9e0f7d91fb.zip |
Wait transcoding by default when importing a video
Diffstat (limited to 'server/lib')
-rw-r--r-- | server/lib/video-import.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/video-import.ts b/server/lib/video-import.ts index d9da09040..796079875 100644 --- a/server/lib/video-import.ts +++ b/server/lib/video-import.ts | |||
@@ -115,7 +115,7 @@ async function buildVideoFromImport ({ channelId, importData, importDataOverride | |||
115 | language: importDataOverride?.language || importData.language, | 115 | language: importDataOverride?.language || importData.language, |
116 | commentsEnabled: importDataOverride?.commentsEnabled ?? CONFIG.DEFAULTS.PUBLISH.COMMENTS_ENABLED, | 116 | commentsEnabled: importDataOverride?.commentsEnabled ?? CONFIG.DEFAULTS.PUBLISH.COMMENTS_ENABLED, |
117 | downloadEnabled: importDataOverride?.downloadEnabled ?? CONFIG.DEFAULTS.PUBLISH.DOWNLOAD_ENABLED, | 117 | downloadEnabled: importDataOverride?.downloadEnabled ?? CONFIG.DEFAULTS.PUBLISH.DOWNLOAD_ENABLED, |
118 | waitTranscoding: importDataOverride?.waitTranscoding || false, | 118 | waitTranscoding: importDataOverride?.waitTranscoding ?? true, |
119 | state: VideoState.TO_IMPORT, | 119 | state: VideoState.TO_IMPORT, |
120 | nsfw: importDataOverride?.nsfw || importData.nsfw || false, | 120 | nsfw: importDataOverride?.nsfw || importData.nsfw || false, |
121 | description: importDataOverride?.description || importData.description, | 121 | description: importDataOverride?.description || importData.description, |