Do not lowercase the input file (Fixes Linux support) (#13)

Linux path names are almost always case sensitive, so this PR removes forcing lowercase file names.
This commit is contained in:
xbjfk 2021-04-21 22:32:11 +12:00 committed by GitHub
parent a160aa71e0
commit 6a227f605e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,8 +59,6 @@ func handleArgs(args []string, quiet *bool) {
} }
func initCommand(inputFile string, mode string) { func initCommand(inputFile string, mode string) {
inputFile = strings.ToLower(inputFile)
if strings.HasSuffix(inputFile, ".webm") { if strings.HasSuffix(inputFile, ".webm") {
switch mode { switch mode {