mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-22 16:17:20 +00:00
Add support for AV_HWDEVICE_TYPE_DRM hwaccels
This commit is contained in:
1 parent
2a7fae2c82
commit
541784382a
1 file changed
+4
@@ -522,6 +522,10 @@ IFFmpegRenderer* FFmpegVideoDecoder::createHwAccelRenderer(const AVCodecHWConfig
|
||||
#ifdef HAVE_LIBVDPAU
|
||||
case AV_HWDEVICE_TYPE_VDPAU:
|
||||
return new VDPAURenderer();
|
||||
#endif
|
||||
#ifdef HAVE_DRM
|
||||
case AV_HWDEVICE_TYPE_DRM:
|
||||
return new DrmRenderer();
|
||||
#endif
|
||||
default:
|
||||
return nullptr;
|
||||
|
||||
Reference in new issue
Block a user