Commit 7e93ae06 authored by Nirbheek Chauhan's avatar Nirbheek Chauhan 🐜

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.
parent 0c39068c
......@@ -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
......
......@@ -19,7 +19,7 @@
#ifndef __GST_CUDA_STUB_H__
#define __GST_CUDA_STUB_H__
#include <gst/gst.h>
#include <glib.h>
G_BEGIN_DECLS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment