mirror of
https://github.com/glomatico/gamdl.git
synced 2026-06-13 04:05:14 +03:00
Return optional fourcc for MusicVideoCodec
This commit is contained in:
@@ -80,9 +80,8 @@ class MusicVideoCodec(Enum):
|
||||
H265 = "h265"
|
||||
ASK = "ask"
|
||||
|
||||
@property
|
||||
def fourcc(self) -> str:
|
||||
return FOURCC_MAP[self.value]
|
||||
def fourcc(self) -> str | None:
|
||||
return FOURCC_MAP.get(self.value)
|
||||
|
||||
|
||||
class MusicVideoResolution(Enum):
|
||||
|
||||
Reference in New Issue
Block a user