aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorkontrollanten <6680299+kontrollanten@users.noreply.github.com>2021-11-08 04:20:04 +0100
committerChocobozzz <chocobozzz@cpy.re>2021-11-09 15:00:21 +0100
commit4e29f4fe23b413cc8c55ac0d8373f36bcd60b47a (patch)
treec9e63dac52672d46cbf0072dc35e396dca61079c /server/initializers
parent9c391612038cd48cfeb2315dcbb8feddcf877d94 (diff)
downloadPeerTube-4e29f4fe23b413cc8c55ac0d8373f36bcd60b47a.tar.gz
PeerTube-4e29f4fe23b413cc8c55ac0d8373f36bcd60b47a.tar.zst
PeerTube-4e29f4fe23b413cc8c55ac0d8373f36bcd60b47a.zip
video: add video stranscoding_failed state
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index fb6bc9a66..845576667 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -420,7 +420,8 @@ const VIDEO_STATES: { [ id in VideoState ]: string } = {
420 [VideoState.TO_IMPORT]: 'To import', 420 [VideoState.TO_IMPORT]: 'To import',
421 [VideoState.WAITING_FOR_LIVE]: 'Waiting for livestream', 421 [VideoState.WAITING_FOR_LIVE]: 'Waiting for livestream',
422 [VideoState.LIVE_ENDED]: 'Livestream ended', 422 [VideoState.LIVE_ENDED]: 'Livestream ended',
423 [VideoState.TO_MOVE_TO_EXTERNAL_STORAGE]: 'To move to an external storage' 423 [VideoState.TO_MOVE_TO_EXTERNAL_STORAGE]: 'To move to an external storage',
424 [VideoState.TRANSCODING_FAILED]: 'Transcoding failed'
424} 425}
425 426
426const VIDEO_IMPORT_STATES: { [ id in VideoImportState ]: string } = { 427const VIDEO_IMPORT_STATES: { [ id in VideoImportState ]: string } = {