From a8537c622ed8ff58b26a74a8d86e7c5b890f8af2 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 29 Jan 2021 15:31:31 +0100 Subject: Use veryfast preset for default transcoding profile --- shared/extra-utils/videos/videos.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'shared/extra-utils') diff --git a/shared/extra-utils/videos/videos.ts b/shared/extra-utils/videos/videos.ts index 392eddcc5..110552c77 100644 --- a/shared/extra-utils/videos/videos.ts +++ b/shared/extra-utils/videos/videos.ts @@ -641,10 +641,12 @@ async function uploadVideoAndGetId (options: { nsfw?: boolean privacy?: VideoPrivacy token?: string + fixture?: string }) { const videoAttrs: any = { name: options.videoName } if (options.nsfw) videoAttrs.nsfw = options.nsfw if (options.privacy) videoAttrs.privacy = options.privacy + if (options.fixture) videoAttrs.fixture = options.fixture const res = await uploadVideo(options.server.url, options.token || options.server.accessToken, videoAttrs) -- cgit v1.2.3