fix: audiochannels is int8
This commit is contained in:
parent
12f4b7cdff
commit
40f9ec7cac
|
@ -103,7 +103,7 @@ func (mmd *MediaFormat) DecodeMsgpack(dec *msgpack.Decoder) error {
|
|||
case 15:
|
||||
mmd.Bitrate = int(value.(uint16))
|
||||
case 18:
|
||||
mmd.AudioChannels = value.(int)
|
||||
mmd.AudioChannels = int(value.(int8))
|
||||
case 19:
|
||||
mmd.Vcodec = value.(string)
|
||||
case 20:
|
||||
|
|
Loading…
Reference in New Issue