aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-08-02 16:05:44 +0200
committerChocobozzz <me@florianbigard.com>2022-08-02 16:05:44 +0200
commitebb9e53ada156249ed8e8cfd1de74097d3eb49d7 (patch)
tree094873e9f09a30eedf48617d4af3d4a3232df0fb /shared/models
parent22df69fdecf299c8be6acaa25f086249ea9a0085 (diff)
downloadPeerTube-ebb9e53ada156249ed8e8cfd1de74097d3eb49d7.tar.gz
PeerTube-ebb9e53ada156249ed8e8cfd1de74097d3eb49d7.tar.zst
PeerTube-ebb9e53ada156249ed8e8cfd1de74097d3eb49d7.zip
Add plugin hook on transcoding resolutions building
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/plugins/server/server-hook.model.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/shared/models/plugins/server/server-hook.model.ts b/shared/models/plugins/server/server-hook.model.ts
index a8e31f576..08da95177 100644
--- a/shared/models/plugins/server/server-hook.model.ts
+++ b/shared/models/plugins/server/server-hook.model.ts
@@ -93,7 +93,10 @@ export const serverFilterHookObject = {
93 'filter:html.embed.video-playlist.allowed.result': true, 93 'filter:html.embed.video-playlist.allowed.result': true,
94 94
95 'filter:job-queue.process.params': true, 95 'filter:job-queue.process.params': true,
96 'filter:job-queue.process.result': true 96 'filter:job-queue.process.result': true,
97
98 'filter:transcoding.manual.lower-resolutions-to-transcode.result': true,
99 'filter:transcoding.auto.lower-resolutions-to-transcode.result': true
97} 100}
98 101
99export type ServerFilterHookName = keyof typeof serverFilterHookObject 102export type ServerFilterHookName = keyof typeof serverFilterHookObject