Skip to content
代码片段 群组 项目
未验证 提交 4ac5b948 编辑于 作者: pukkandan's avatar pukkandan
浏览文件

[dash] Fix `--test`

Bug in adbc4ec4
上级 4273cc77
No related branches found
No related tags found
无相关合并请求
......@@ -57,7 +57,7 @@ class DashSegmentsFD(FragmentFD):
def _resolve_fragments(self, fragments, ctx):
fragments = fragments(ctx) if callable(fragments) else fragments
return [next(fragments)] if self.params.get('test') else fragments
return [next(iter(fragments))] if self.params.get('test') else fragments
def _get_fragments(self, fmt, ctx):
fragment_base_url = fmt.get('fragment_base_url')
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册