From 43f7a43ca442de0c838cb15c55ab8845f3eec950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Le=20Calvar?= Date: Sat, 3 Apr 2021 23:51:37 +0200 Subject: add option for transcode plugins to add video filters and make all options optional --- shared/models/videos/video-transcoding.model.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'shared/models/videos') 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: { export interface EncoderOptions { copy?: boolean // Copy stream? Default to false - inputOptions: string[] - outputOptions: string[] + inputOptions?: string[] + videoFilters?: string[] + outputOptions?: string[] } // All our encoders -- cgit v1.2.3