Fix typo in '/api/manifest/dash/id'

このコミットが含まれているのは:
Omar Roth 2019-06-04 21:14:57 -05:00
コミット 8ba45808be
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: B8254FB7EC3D37F2
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -4767,8 +4767,8 @@ get "/api/manifest/dash/id/:id" do |env|
i += 1
end
heights = [] of Int32
{"video/mp4", "video/webm"}.each do |mime_type|
heights = [] of Int32
xml.element("AdaptationSet", id: i, mimeType: mime_type, startWithSAP: 1, subsegmentAlignment: true, scanType: "progressive") do
video_streams.select { |stream| stream["type"].starts_with? mime_type }.each do |fmt|
codecs = fmt["type"].split("codecs=")[1].strip('"')