ws-cleanup-types: Types, api, host: honest annotations; return the full annotated value count
This commit is contained in:
1 parent
59a0352ca6
commit
f209801579
22 files changed
+147
-147
No files matched your search
@@ -239,7 +239,7 @@ function D.info(self: Demux, track: number, k: number): (number?, number?, numbe
|
||||
local list = self.byTrack[track]
|
||||
local i = list and list[k]
|
||||
if not i then
|
||||
return nil
|
||||
return nil, nil, nil, nil, nil
|
||||
end
|
||||
return self.pts[i], self.dts[i], self.dur[i], self.key[i], self.len[i]
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user