Skip to content

Commit

Permalink
fix progress when running ffmpeg
Browse files Browse the repository at this point in the history
  • Loading branch information
lamarios committed Sep 16, 2024
1 parent fad4252 commit 0bbe6c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/downloads/states/download_manager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ class DownloadManagerCubit extends Cubit<DownloadManagerState> {
onProgress(1, 1, downloadedVideo, step: 2, totalSteps: 2);
return true;
} else {
onProgress(0, 1, downloadedVideo, step: 3, totalSteps: 3);
final session = await FFmpegKit.execute(
'-y -i $videoPath -i $audioPath -c:v copy -c:a copy $mediaPath');

Expand Down

0 comments on commit 0bbe6c3

Please sign in to comment.