Skip to content

armgit / ente

Public Imported from GitHub
0

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

refactor: Combine FFmpeg session ID with command log

Prateek Sunal0f868faecd32
diff --git a/mobile/apps/photos/lib/services/video_preview_service.dart b/mobile/apps/photos/lib/services/video_preview_service.dart
index 8b728b23f5..2069550324 100644
--- a/mobile/apps/photos/lib/services/video_preview_service.dart
+++ b/mobile/apps/photos/lib/services/video_preview_service.dart
@@ -532,14 +532,12 @@ class VideoPreviewService {
'-f hls -hls_flags single_file '
'-hls_list_size 0 -hls_key_info_file ${keyinfo.path} ';
- _logger.info(command);
-
final playlistGenResult = await ffmpegService
.runFfmpegCancellable(
'-i "${file.path}" $command$prefix/output.m3u8',
(id) {
_currentFfmpegSessionId = id;
- _logger.info("FFmpeg session started: $id");
+ _logger.info("FFmpeg[$id]: $command");
},
)
.whenComplete(() => _currentFfmpegSessionId = null)