Fix FutureWarning when getting FPS for DASH videos

This commit is contained in:
rlaphoenix 2023-02-10 20:05:31 +00:00
parent a8f3975f7e
commit 4bee08c431
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ class DASH:
adaptation_set.get("frameRate") or
(
rep.find("SegmentBase").get("timescale") if
rep.find("SegmentBase") else None
rep.find("SegmentBase") is not None else None
)
),
drm=drm