mirror of
https://gitea.invidious.io/iv-org/invidious.git
synced 2024-08-15 00:53:41 +00:00
Fix typo in '/api/manifest/dash/id'
This commit is contained in:
parent
d876fd7f5b
commit
8ba45808be
1 changed files with 1 additions and 1 deletions
|
@ -4767,8 +4767,8 @@ get "/api/manifest/dash/id/:id" do |env|
|
||||||
i += 1
|
i += 1
|
||||||
end
|
end
|
||||||
|
|
||||||
{"video/mp4", "video/webm"}.each do |mime_type|
|
|
||||||
heights = [] of Int32
|
heights = [] of Int32
|
||||||
|
{"video/mp4", "video/webm"}.each do |mime_type|
|
||||||
xml.element("AdaptationSet", id: i, mimeType: mime_type, startWithSAP: 1, subsegmentAlignment: true, scanType: "progressive") do
|
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|
|
video_streams.select { |stream| stream["type"].starts_with? mime_type }.each do |fmt|
|
||||||
codecs = fmt["type"].split("codecs=")[1].strip('"')
|
codecs = fmt["type"].split("codecs=")[1].strip('"')
|
||||||
|
|
Loading…
Reference in a new issue