Skip to content

Commit

Permalink
Fix DASH FPS error when SegmentBase is not found
Browse files Browse the repository at this point in the history
  • Loading branch information
rlaphoenix committed Jul 15, 2023
1 parent 883c9ae commit f3cfaa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devine/core/manifests/dash.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def to_tracks(
bitrate=get("bandwidth") or None,
width=get("width") or 0,
height=get("height") or 0,
fps=get("frameRate") or rep.find("SegmentBase", {}).get("timescale") or None
fps=get("frameRate") or (rep.find("SegmentBase") or {}).get("timescale") or None
)
elif content_type == "audio":
track_type = Audio
Expand Down

0 comments on commit f3cfaa3

Please sign in to comment.