was not working

This commit is contained in:
nixo 2019-05-21 19:08:40 +02:00
parent 019d06b084
commit 7bbf178d9e
1 changed files with 1 additions and 1 deletions

View File

@ -520,7 +520,7 @@ function giveconverted(file, bitrate, format)
mime = suffix in keys(Mux.mimetypes) ? Mux.mimetypes[suffix] : suffix mime = suffix in keys(Mux.mimetypes) ? Mux.mimetypes[suffix] : suffix
headers["Content-Type"] = mime headers["Content-Type"] = mime
# headers["Content-Length"] = string(length(data)) # headers["Content-Length"] = string(length(data))
return Dict(:body => take!(iodata), :headers => headers) return Dict(:body => read(iodata), :headers => headers)
end end
function convert(infile; bitrate = 64, format = "oga") function convert(infile; bitrate = 64, format = "oga")