Skip to content

Commit

Permalink
Merge pull request gordon-cs#120 from sillsdev/fix/get-length-output
Browse files Browse the repository at this point in the history
Remove debug output from getting length
  • Loading branch information
chrisvire authored May 17, 2022
2 parents eec00d1 + daee207 commit c77c37c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/ffmpeg/ffmpeg.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,8 +398,5 @@ func GetVideoLength(inputPath string) float64 {
output, err := cmd.CombinedOutput()
CheckCMDError(output, err)

outputString := string(output)
fmt.Println("Output: " + outputString)

return ParseVideoLength(outputString)
return ParseVideoLength(string(output))
}

0 comments on commit c77c37c

Please sign in to comment.