get default ratio
This commit is contained in:
@@ -106,6 +106,7 @@ Language: {tags-lang}""".format(
|
|||||||
float(stream["r_frame_rate"].split("/")[0])
|
float(stream["r_frame_rate"].split("/")[0])
|
||||||
/ float(stream["r_frame_rate"].split("/")[1])
|
/ float(stream["r_frame_rate"].split("/")[1])
|
||||||
)
|
)
|
||||||
|
stream["display_aspect_ratio"] = stream.get("display_aspect_ratio", "NA")
|
||||||
msg = """{Y}==== Stream:{index} ===={z}
|
msg = """{Y}==== Stream:{index} ===={z}
|
||||||
Type: {G}{codec_type}{z}
|
Type: {G}{codec_type}{z}
|
||||||
Codec: {codec_long_name} ({codec_name})
|
Codec: {codec_long_name} ({codec_name})
|
||||||
|
|||||||
Reference in New Issue
Block a user