Pārlūkot izejas kodu

deps/media-playback: Remove cuda for hardware decoding

Cuda appears to be a bit buggy and can result in corruption where as
it's not being seen with other hardware decoders.  Remove cuda for now
as a hardware decoder to prevent the possibility of corruption.
jp9000 6 gadi atpakaļ
vecāks
revīzija
86572935af
1 mainītis faili ar 1 papildinājumiem un 2 dzēšanām
  1. 1 2
      deps/media-playback/media-playback/decode.c

+ 1 - 2
deps/media-playback/media-playback/decode.c

@@ -25,8 +25,7 @@
 enum AVHWDeviceType hw_priority[] = {
 	AV_HWDEVICE_TYPE_D3D11VA, AV_HWDEVICE_TYPE_DXVA2,
 	AV_HWDEVICE_TYPE_VAAPI,   AV_HWDEVICE_TYPE_VDPAU,
-	AV_HWDEVICE_TYPE_QSV,     AV_HWDEVICE_TYPE_CUDA,
-	AV_HWDEVICE_TYPE_NONE,
+	AV_HWDEVICE_TYPE_QSV,     AV_HWDEVICE_TYPE_NONE,
 };
 
 static bool has_hw_type(AVCodec *c, enum AVHWDeviceType type,