diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-04 15:55:51 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2023-05-09 08:57:34 +0200 |
commit | ab14f0e0dca878dbaccc8f6a895a68e4269c9873 (patch) | |
tree | 078247f8620ee1f3260b8c3e3336059863273eb8 /packages/peertube-runner/server/shared | |
parent | 5e47f6ab984a7d00782e4c7030afffa1ba480add (diff) | |
download | PeerTube-ab14f0e0dca878dbaccc8f6a895a68e4269c9873.tar.gz PeerTube-ab14f0e0dca878dbaccc8f6a895a68e4269c9873.tar.zst PeerTube-ab14f0e0dca878dbaccc8f6a895a68e4269c9873.zip |
Prefer video studio instead of video edition
Clearer and easier to find in the project
Diffstat (limited to 'packages/peertube-runner/server/shared')
-rw-r--r-- | packages/peertube-runner/server/shared/supported-job.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/peertube-runner/server/shared/supported-job.ts b/packages/peertube-runner/server/shared/supported-job.ts index 87d5a39cc..1137d8206 100644 --- a/packages/peertube-runner/server/shared/supported-job.ts +++ b/packages/peertube-runner/server/shared/supported-job.ts | |||
@@ -2,7 +2,7 @@ import { | |||
2 | RunnerJobLiveRTMPHLSTranscodingPayload, | 2 | RunnerJobLiveRTMPHLSTranscodingPayload, |
3 | RunnerJobPayload, | 3 | RunnerJobPayload, |
4 | RunnerJobType, | 4 | RunnerJobType, |
5 | RunnerJobVideoEditionTranscodingPayload, | 5 | RunnerJobStudioTranscodingPayload, |
6 | RunnerJobVODAudioMergeTranscodingPayload, | 6 | RunnerJobVODAudioMergeTranscodingPayload, |
7 | RunnerJobVODHLSTranscodingPayload, | 7 | RunnerJobVODHLSTranscodingPayload, |
8 | RunnerJobVODWebVideoTranscodingPayload, | 8 | RunnerJobVODWebVideoTranscodingPayload, |
@@ -22,7 +22,7 @@ const supportedMatrix = { | |||
22 | 'live-rtmp-hls-transcoding': (_payload: RunnerJobLiveRTMPHLSTranscodingPayload) => { | 22 | 'live-rtmp-hls-transcoding': (_payload: RunnerJobLiveRTMPHLSTranscodingPayload) => { |
23 | return true | 23 | return true |
24 | }, | 24 | }, |
25 | 'video-edition-transcoding': (payload: RunnerJobVideoEditionTranscodingPayload) => { | 25 | 'video-studio-transcoding': (payload: RunnerJobStudioTranscodingPayload) => { |
26 | const tasks = payload?.tasks | 26 | const tasks = payload?.tasks |
27 | const supported = new Set<VideoStudioTaskPayload['name']>([ 'add-intro', 'add-outro', 'add-watermark', 'cut' ]) | 27 | const supported = new Set<VideoStudioTaskPayload['name']>([ 'add-intro', 'add-outro', 'add-watermark', 'cut' ]) |
28 | 28 | ||