Skip to content

Commit b7f0b05

Browse files
committed
It's OTF, not OFT
1 parent 8144308 commit b7f0b05

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/invidious/routes/api/manifest.cr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ module Invidious::Routes::API::Manifest
6262

6363
xml.element("AdaptationSet", id: i, mimeType: mime_type, startWithSAP: 1, subsegmentAlignment: true) do
6464
mime_streams.each do |fmt|
65-
# OFT streams aren't supported yet (See https://github.com/TeamNewPipe/NewPipe/issues/2415)
65+
# OTF streams aren't supported yet (See https://github.com/TeamNewPipe/NewPipe/issues/2415)
6666
next if !(fmt.has_key?("indexRange") && fmt.has_key?("initRange"))
6767

6868
codecs = fmt["mimeType"].as_s.split("codecs=")[1].strip('"')
@@ -93,7 +93,7 @@ module Invidious::Routes::API::Manifest
9393
heights = [] of Int32
9494
xml.element("AdaptationSet", id: i, mimeType: mime_type, startWithSAP: 1, subsegmentAlignment: true, scanType: "progressive") do
9595
mime_streams.each do |fmt|
96-
# OFT streams aren't supported yet (See https://github.com/TeamNewPipe/NewPipe/issues/2415)
96+
# OTF streams aren't supported yet (See https://github.com/TeamNewPipe/NewPipe/issues/2415)
9797
next if !(fmt.has_key?("indexRange") && fmt.has_key?("initRange"))
9898

9999
codecs = fmt["mimeType"].as_s.split("codecs=")[1].strip('"')

src/invidious/videos.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ struct Video
374374
json.array do
375375
self.adaptive_fmts.each do |fmt|
376376
json.object do
377-
# Only available on regular videos, not livestreams/OFT streams
377+
# Only available on regular videos, not livestreams/OTF streams
378378
if init_range = fmt["initRange"]?
379379
json.field "init", "#{init_range["start"]}-#{init_range["end"]}"
380380
end

0 commit comments

Comments
 (0)