Skip to content

Commit

Permalink
plugins/win-dshow: Add CUDA decoder
Browse files Browse the repository at this point in the history
  • Loading branch information
moocowsheep authored and tt2468 committed May 12, 2024
1 parent c9f7a3c commit ce4c99b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions plugins/win-dshow/ffmpeg-decode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ce4c99b

Please sign in to comment.