Explorar o código

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 %!s(int64=6) %!d(string=hai) anos
pai
achega
86572935af
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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,