mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-19 19:42:24 +02:00
wscript: Remove code check for cuda hwaccel
This was there originally to detect too-old versions of ffmpeg. We now only support >= 4.0, so it's not relevant. We just need the dependencies to be present.
This commit is contained in:
parent
a645c6b2ec
commit
1b19ba6c57
@ -1,15 +0,0 @@
|
||||
#define CUDA_VERSION 7050
|
||||
|
||||
typedef void * CUcontext;
|
||||
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include <libavutil/hwcontext.h>
|
||||
#include <libavutil/hwcontext_cuda.h>
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
enum AVHWDeviceType type = AV_HWDEVICE_TYPE_CUDA;
|
||||
AVCUDADeviceContextInternal *foo;
|
||||
AVCodecContext *avctx = avcodec_alloc_context3(NULL);
|
||||
avctx->hw_device_ctx = NULL;
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user