Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyiming748 committed Aug 9, 2024
1 parent d8770ed commit 31288de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conv/h265.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func ProcessVideo2H265(in mediainfo.BasicInfo) {
originsize, _ := util.GetSize(in.FullPath)
aftersize, _ := util.GetSize(mp4)
sub, _ := util.GetDiffSize(originsize, aftersize)
log.Printf("转换前%fM转换后%fM节省%fM\n", originsize/util.MB, aftersize/util.MB, sub)
log.Printf("转换前%vM转换后%vM节省%vM\n", originsize/util.MB, aftersize/util.MB, sub)
if err := os.Remove(in.FullPath); err != nil {
log.Printf("删除失败:%v\n", in.FullPath)
} else {
Expand Down

0 comments on commit 31288de

Please sign in to comment.