forked from DRMTalks/devine
Fix FutureWarning when getting FPS for DASH videos
This commit is contained in:
parent
a8f3975f7e
commit
4bee08c431
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue