Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

case

Manav Rathie9f22cff9301
diff --git a/web/packages/gallery/services/ffmpeg/web.ts b/web/packages/gallery/services/ffmpeg/web.ts
index 1bcbe6b948..acf2eb5dda 100644
--- a/web/packages/gallery/services/ffmpeg/web.ts
+++ b/web/packages/gallery/services/ffmpeg/web.ts
@@ -164,7 +164,7 @@ const substitutePlaceholders = (
})
.filter((s) => s !== undefined);
-const isHDRVideoFFProbeOutput = z.object({
+const IsHDRVideoFFProbeOutput = z.object({
streams: z.array(z.object({ color_transfer: z.string().optional() })),
});
@@ -201,7 +201,7 @@ const isHDRVideo = async (ffmpeg: FFmpeg, inputFilePath: string) => {
"output.json",
);
- const output = isHDRVideoFFProbeOutput.parse(JSON.parse(jsonString));
+ const output = IsHDRVideoFFProbeOutput.parse(JSON.parse(jsonString));
switch (output.streams[0]?.color_transfer) {
case "smpte2084":
case "arib-std-b67":