mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 10:10:32 +00:00
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
3 changed files with 5 additions and 4 deletions
|
@ -24,12 +24,12 @@
|
||||||
#ifndef __GST_FFMPEGAUDENC_H__
|
#ifndef __GST_FFMPEGAUDENC_H__
|
||||||
#define __GST_FFMPEGAUDENC_H__
|
#define __GST_FFMPEGAUDENC_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
#include <gst/audio/gstaudioencoder.h>
|
#include <gst/audio/gstaudioencoder.h>
|
||||||
#include <libavcodec/avcodec.h>
|
#include <libavcodec/avcodec.h>
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef struct _GstFFMpegAudEnc GstFFMpegAudEnc;
|
typedef struct _GstFFMpegAudEnc GstFFMpegAudEnc;
|
||||||
|
|
||||||
struct _GstFFMpegAudEnc
|
struct _GstFFMpegAudEnc
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
#define __GST_FFMPEG_CODECMAP_H__
|
#define __GST_FFMPEG_CODECMAP_H__
|
||||||
|
|
||||||
#include <libavcodec/avcodec.h>
|
#include <libavcodec/avcodec.h>
|
||||||
|
#include <libavformat/avformat.h>
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
#include <gst/audio/audio.h>
|
#include <gst/audio/audio.h>
|
||||||
#include <gst/video/video.h>
|
#include <gst/video/video.h>
|
||||||
|
|
|
@ -19,12 +19,12 @@
|
||||||
#ifndef __GST_FFMPEGVIDDEC_H__
|
#ifndef __GST_FFMPEGVIDDEC_H__
|
||||||
#define __GST_FFMPEGVIDDEC_H__
|
#define __GST_FFMPEGVIDDEC_H__
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#include <gst/gst.h>
|
#include <gst/gst.h>
|
||||||
#include <gst/video/video.h>
|
#include <gst/video/video.h>
|
||||||
#include <libavcodec/avcodec.h>
|
#include <libavcodec/avcodec.h>
|
||||||
|
|
||||||
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
typedef struct _GstFFMpegVidDec GstFFMpegVidDec;
|
typedef struct _GstFFMpegVidDec GstFFMpegVidDec;
|
||||||
struct _GstFFMpegVidDec
|
struct _GstFFMpegVidDec
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue