aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/video-transcoding.model.ts
diff options
context:
space:
mode:
authorThéo Le Calvar <tlc@kher.nl>2021-04-03 23:51:37 +0200
committerChocobozzz <chocobozzz@cpy.re>2021-04-09 15:53:18 +0200
commit43f7a43ca442de0c838cb15c55ab8845f3eec950 (patch)
tree703ce0c6e4df4889fcfeb7e817749219cb4ba8c0 /shared/models/videos/video-transcoding.model.ts
parent5fb7cfbac50e2c55f04182e40bc6f84e5dd4a4da (diff)
downloadPeerTube-43f7a43ca442de0c838cb15c55ab8845f3eec950.tar.gz
PeerTube-43f7a43ca442de0c838cb15c55ab8845f3eec950.tar.zst
PeerTube-43f7a43ca442de0c838cb15c55ab8845f3eec950.zip
add option for transcode plugins to add video filters and make all options optional
Diffstat (limited to 'shared/models/videos/video-transcoding.model.ts')
-rw-r--r--shared/models/videos/video-transcoding.model.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/shared/models/videos/video-transcoding.model.ts b/shared/models/videos/video-transcoding.model.ts
index 52b468a96..ffb0115dc 100644
--- a/shared/models/videos/video-transcoding.model.ts
+++ b/shared/models/videos/video-transcoding.model.ts
@@ -12,8 +12,9 @@ export type EncoderOptionsBuilder = (params: {
12export interface EncoderOptions { 12export interface EncoderOptions {
13 copy?: boolean // Copy stream? Default to false 13 copy?: boolean // Copy stream? Default to false
14 14
15 inputOptions: string[] 15 inputOptions?: string[]
16 outputOptions: string[] 16 videoFilters?: string[]
17 outputOptions?: string[]
17} 18}
18 19
19// All our encoders 20// All our encoders