Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix

Manav Rathid91555f8f2d3
diff --git a/web/packages/gallery/services/download.ts b/web/packages/gallery/services/download.ts
index c77930171b..cde94103c3 100644
--- a/web/packages/gallery/services/download.ts
+++ b/web/packages/gallery/services/download.ts
@@ -131,7 +131,7 @@ class DownloadManager {
* Unlike {@link thumbnailURLPromises}, there is no guarantee that the
* browser will be able to render the original file (e.g. it might be in an
* unsupported format). If a renderable URL is needed for the file,
- * {@link renderableSourceURL} should be used instead.
+ * {@link renderableSourceURLs} should be used instead.
*
* The entries are keyed by the file ID.
*/
@@ -139,10 +139,11 @@ class DownloadManager {
/**
* An in-memory cache for {@link RenderableSourceURLs} for a file.
*
- * These are saved as a result of invocation of {@link renderableSourceURL},
- * which goes one step beyond {@link fileURLPromises}, and also attempts to
- * convert the downloaded file into a URL that the browser (or the desktop
- * app) is likely to be able to render or play.
+ * These are saved as a result of invocation of
+ * {@link renderableSourceURLs}, which goes one step beyond
+ * {@link fileURLPromises}, and also attempts to convert the downloaded file
+ * into a URL that the browser (or the desktop app) is likely to be able to
+ * render or play.
*
* The entries are keyed by file ID.
*/
diff --git a/web/packages/gallery/services/preview.ts b/web/packages/gallery/services/preview.ts
index f4dd493104..1b95507b52 100644
--- a/web/packages/gallery/services/preview.ts
+++ b/web/packages/gallery/services/preview.ts
@@ -3,6 +3,7 @@ import { FileType } from "ente-media/file-type";
import { downloadManager } from "./download";
import { generateVideoPreviewVariantWeb } from "./ffmpeg";
+// TODO(HLS): Move me to video.ts
/**
* Create a preview variant of the given video {@link file}.
*