nvcodec: cuda.h only needs glib.h, not gst.h

Just a nitpick. Also, force the compiler to use our stub header
instead of searching for it in the include paths.
This commit is contained in:
Nirbheek Chauhan 2020-01-20 15:10:51 +05:30
parent 0c39068c89
commit 7e93ae0638
2 changed files with 3 additions and 2 deletions

View file

@ -20,8 +20,9 @@
#ifndef __GST_CUDA_LOADER_H__
#define __GST_CUDA_LOADER_H__
#include "stub/cuda.h"
#include <gst/gst.h>
#include <cuda.h>
G_BEGIN_DECLS

View file

@ -19,7 +19,7 @@
#ifndef __GST_CUDA_STUB_H__
#define __GST_CUDA_STUB_H__
#include <gst/gst.h>
#include <glib.h>
G_BEGIN_DECLS