Skip to content

Commit

Permalink
chore: vp8
Browse files Browse the repository at this point in the history
  • Loading branch information
guoxianzhe committed Dec 25, 2024
1 parent 5122a72 commit 2f1d0ff
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ts/Decoder/gpu-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ export const getGpuInfoInternal = (callback: any): void => {
maxHeight: maxHeight ? Number(maxHeight) : 0,
});
}
/// By default, we support vp8 codec with resolution range from 16x16 to 4096x4096
convertResult.push({
codec: 'Decode vp8',
maxHeight: 4096,
maxWidth: 4096,
minHeight: 16,
minWidth: 16,
});
typeof callback === 'function' && callback(convertResult);
})
.catch((error: any) => {
Expand Down

0 comments on commit 2f1d0ff

Please sign in to comment.