mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Try CUDA hardware decoding on Linux.
This commit is contained in:
parent
1e5f18bfe8
commit
9933d1ff3a
1 changed files with 1 additions and 0 deletions
|
@ -150,6 +150,7 @@ void PremultiplyLine(uchar *dst, const uchar *src, int intsCount) {
|
|||
#else // Q_OS_WIN || Q_OS_MAC
|
||||
case AV_PIX_FMT_VAAPI: return AV_HWDEVICE_TYPE_VAAPI;
|
||||
case AV_PIX_FMT_VDPAU: return AV_HWDEVICE_TYPE_VDPAU;
|
||||
case AV_PIX_FMT_CUDA: return AV_HWDEVICE_TYPE_CUDA;
|
||||
#endif // Q_OS_WIN || Q_OS_MAC
|
||||
}
|
||||
return AV_HWDEVICE_TYPE_NONE;
|
||||
|
|
Loading…
Add table
Reference in a new issue