mirror of
https://github.com/devine-dl/devine.git
synced 2025-04-29 17:49:44 +00:00
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…
x
Reference in New Issue
Block a user