mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
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:
parent
0c39068c89
commit
7e93ae0638
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue