Selaa lähdekoodia

plugins/win-dshow: Add CUDA decoder

moocowsheep 1 vuosi sitten
vanhempi
sitoutus
ce4c99be4e
1 muutettua tiedostoa jossa 2 lisäystä ja 4 poistoa
  1. 2 4
      plugins/win-dshow/ffmpeg-decode.c

+ 2 - 4
plugins/win-dshow/ffmpeg-decode.c

@@ -23,10 +23,8 @@
 #endif
 
 enum AVHWDeviceType hw_priority[] = {
-	AV_HWDEVICE_TYPE_D3D11VA,
-	AV_HWDEVICE_TYPE_DXVA2,
-	AV_HWDEVICE_TYPE_QSV,
-	AV_HWDEVICE_TYPE_NONE,
+	AV_HWDEVICE_TYPE_CUDA, AV_HWDEVICE_TYPE_D3D11VA, AV_HWDEVICE_TYPE_DXVA2,
+	AV_HWDEVICE_TYPE_QSV,  AV_HWDEVICE_TYPE_NONE,
 };
 
 static bool has_hw_type(const AVCodec *c, enum AVHWDeviceType type)