mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-14 10:46:51 -07:00
Expose videotoolbox hardware decoder (#261)
This commit is contained in:
parent
919d3b1c3b
commit
9c91843d98
3 changed files with 6 additions and 2 deletions
|
@ -38,6 +38,7 @@ typedef enum {
|
|||
HW_DECODE_NONE = 0,
|
||||
HW_DECODE_VAAPI = 1,
|
||||
HW_DECODE_VDPAU = 2,
|
||||
HW_DECODE_VIDEOTOOLBOX = 3,
|
||||
} HardwareDecodeEngine;
|
||||
|
||||
|
||||
|
@ -45,6 +46,7 @@ static const QMap<HardwareDecodeEngine, const char *> hardware_decode_engine_nam
|
|||
{ HW_DECODE_NONE, "none"},
|
||||
{ HW_DECODE_VAAPI, "vaapi"},
|
||||
{ HW_DECODE_VDPAU, "vdpau"},
|
||||
{ HW_DECODE_VIDEOTOOLBOX, "videotoolbox"},
|
||||
};
|
||||
|
||||
class VideoDecoderException: public Exception
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue