Skip to content

Commit

Permalink
Revert "plugins/win-dshow: Add CUDA decoder"
Browse files Browse the repository at this point in the history
This reverts commit ce4c99b.

This was causing infinitely looping log errors in systems with no
CUDA-capable hardware when hardware decoding was enabled on video
capture devices with custom config enabled.
  • Loading branch information
RytoEX committed Jun 26, 2024
1 parent 8892edd commit 9d67bf2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions plugins/win-dshow/ffmpeg-decode.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@
#endif

enum AVHWDeviceType hw_priority[] = {
AV_HWDEVICE_TYPE_CUDA, AV_HWDEVICE_TYPE_D3D11VA, AV_HWDEVICE_TYPE_DXVA2,
AV_HWDEVICE_TYPE_QSV, AV_HWDEVICE_TYPE_NONE,
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)
Expand Down

0 comments on commit 9d67bf2

Please sign in to comment.