π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
prune
Manav Rathid53281500b9d
diff --git a/desktop/src/main/services/ffmpeg-worker.ts b/desktop/src/main/services/ffmpeg-worker.tsindex 5e1084d2ed..f6af11358c 100644--- a/desktop/src/main/services/ffmpeg-worker.ts+++ b/desktop/src/main/services/ffmpeg-worker.ts@@ -9,7 +9,7 @@ import pathToFfmpeg from "ffmpeg-static";import { randomBytes } from "node:crypto";import fs_ from "node:fs";import fs from "node:fs/promises";-import path, { basename } from "node:path";+import path from "node:path";import { Readable } from "node:stream";import type { FFmpegCommand } from "../../types/ipc";import log from "../log-worker";@@ -106,9 +106,6 @@ const ffmpegExec = async (resolvedCommand = command;} else {const isHDR = await isHDRVideo(inputFilePath);- log.debugString(- `${basename(inputFilePath)} ${JSON.stringify({ isHDR })}`,- );resolvedCommand = isHDR ? command.hdr : command.default;}@@ -224,9 +221,7 @@ const ffmpegGenerateHLSPlaylistAndSegments = async (const { isH264, isBT709, bitrate } =await detectVideoCharacteristics(inputFilePath);- log.debugString(- `${basename(inputFilePath)} ${JSON.stringify({ isH264, isBT709, bitrate })}`,- );+ log.debugString(JSON.stringify({ isH264, isBT709, bitrate }));// If the video is smaller than 10 MB, and already H.264 (the codec we are// going to use for the conversion), then a streaming variant is not muchdiff --git a/web/packages/gallery/services/ffmpeg/web.ts b/web/packages/gallery/services/ffmpeg/web.tsindex 4c63762b0a..09152e6e46 100644--- a/web/packages/gallery/services/ffmpeg/web.ts+++ b/web/packages/gallery/services/ffmpeg/web.ts@@ -94,7 +94,6 @@ const ffmpegExec = async (resolvedCommand = command;} else {const isHDR = await isHDRVideo(ffmpeg, inputPath);- log.debug(() => `[wasm] input file is ${isHDR ? "" : "not "}HDR`);resolvedCommand = isHDR ? command.hdr : command.default;}