mirror of
https://github.com/tubearchivist/tubearchivist
synced 2024-11-02 09:41:07 +00:00
HOTFIX: default bitrate, #415
This commit is contained in:
parent
c65fbb0b60
commit
f848e73251
@ -122,8 +122,8 @@ class MediaStreamExtractor:
|
|||||||
{
|
{
|
||||||
"type": "audio",
|
"type": "audio",
|
||||||
"index": stream["index"],
|
"index": stream["index"],
|
||||||
"codec": stream["codec_name"],
|
"codec": stream.get("codec_name", "undefined"),
|
||||||
"bitrate": int(stream["bit_rate"]),
|
"bitrate": int(stream.get("bit_rate", 0)),
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user