mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-30 12:23:52 +02:00
Fix workspace structure, fix AAC channel layout, fix incorrect import, enable HW-accelerated video decode by default
This commit is contained in:
@@ -224,7 +224,7 @@ export const getChannelLayout = (numChannels: number): NodeAv.ChannelLayout => {
|
||||
case 1: return NodeAv.AV_CHANNEL_LAYOUT_MONO;
|
||||
case 2: return NodeAv.AV_CHANNEL_LAYOUT_STEREO;
|
||||
case 4: return NodeAv.AV_CHANNEL_LAYOUT_QUAD;
|
||||
case 6: return NodeAv.AV_CHANNEL_LAYOUT_5POINT1;
|
||||
case 6: return NodeAv.AV_CHANNEL_LAYOUT_5POINT1_BACK;
|
||||
case 8: return NodeAv.AV_CHANNEL_LAYOUT_7POINT1;
|
||||
default: return { nbChannels: numChannels, order: NodeAv.AV_CHANNEL_ORDER_UNSPEC, mask: 0n };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user