mirror of https://github.com/devine-dl/devine.git
Add mapping for Netflix profiles starting with `h264`
e.g., the new -qc profiles.
This commit is contained in:
parent
e5e3f4687d
commit
f4122f1ae6
|
@ -67,7 +67,7 @@ class Video(Track):
|
|||
@staticmethod
|
||||
def from_netflix_profile(profile: str) -> Video.Codec:
|
||||
profile = profile.lower().strip()
|
||||
if profile.startswith("playready-h264"):
|
||||
if profile.startswith(("h264", "playready-h264")):
|
||||
return Video.Codec.AVC
|
||||
if profile.startswith("hevc"):
|
||||
return Video.Codec.HEVC
|
||||
|
|
Loading…
Reference in New Issue