gstlibav: minor fixes for header files
Move G_BEGIN_DECLS below includes and add missing include Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-libav/-/merge_requests/71>
This commit is contained in:
parent
b1b49a0913
commit
0a985ff677
@ -24,12 +24,12 @@
|
||||
#ifndef __GST_FFMPEGAUDENC_H__
|
||||
#define __GST_FFMPEGAUDENC_H__
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#include <gst/gst.h>
|
||||
#include <gst/audio/gstaudioencoder.h>
|
||||
#include <libavcodec/avcodec.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
typedef struct _GstFFMpegAudEnc GstFFMpegAudEnc;
|
||||
|
||||
struct _GstFFMpegAudEnc
|
||||
|
@ -21,6 +21,7 @@
|
||||
#define __GST_FFMPEG_CODECMAP_H__
|
||||
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include <libavformat/avformat.h>
|
||||
#include <gst/gst.h>
|
||||
#include <gst/audio/audio.h>
|
||||
#include <gst/video/video.h>
|
||||
|
@ -19,12 +19,12 @@
|
||||
#ifndef __GST_FFMPEGVIDDEC_H__
|
||||
#define __GST_FFMPEGVIDDEC_H__
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#include <gst/gst.h>
|
||||
#include <gst/video/video.h>
|
||||
#include <libavcodec/avcodec.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
typedef struct _GstFFMpegVidDec GstFFMpegVidDec;
|
||||
struct _GstFFMpegVidDec
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user