mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
mpegts: make headers usable with c++ compiler
Add G_BEGIN_DECLS G_END_DECLS https://bugzilla.gnome.org/show_bug.cgi?id=671136
This commit is contained in:
parent
b1ddd2e682
commit
0d9690ba1e
8 changed files with 31 additions and 0 deletions
|
@ -28,6 +28,8 @@
|
|||
#include <gst/mpegts/gstmpegtssection.h>
|
||||
#include <gst/mpegts/gstmpegtsdescriptor.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/**
|
||||
* GstMpegTsSectionATSCTableID:
|
||||
*
|
||||
|
@ -64,4 +66,6 @@ typedef enum {
|
|||
GST_MTS_TABLE_ID_ATSC_SATELLITE_VIRTUAL_CHANNEL = 0xDA,
|
||||
} GstMpegTsSectionATSCTableID;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* GST_MPEGTS_SECTION_H */
|
||||
|
|
|
@ -34,6 +34,8 @@
|
|||
|
||||
#include <gst/gst.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/**
|
||||
* GstMpegTsDVBDescriptorType:
|
||||
*
|
||||
|
@ -359,4 +361,6 @@ guint gst_mpegts_descriptor_parse_dvb_subtitling_nb (const GstMpegTsDescriptor *
|
|||
/* GST_MTS_DESC_DVB_AC3 (0x6a) */
|
||||
/* FIXME : Implement */
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* GST_MPEGTS_DESCRIPTOR_H */
|
||||
|
|
|
@ -28,6 +28,8 @@
|
|||
#include <gst/mpegts/gstmpegtssection.h>
|
||||
#include <gst/mpegts/gstmpegtsdescriptor.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/**
|
||||
* GstMpegTsSectionDVBTableID:
|
||||
*
|
||||
|
@ -320,4 +322,6 @@ struct _GstMpegTsTOT
|
|||
GType gst_mpegts_tot_get_type (void);
|
||||
const GstMpegTsTOT *gst_mpegts_section_get_tot (GstMpegTsSection *section);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* GST_MPEGTS_SECTION_H */
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#include <gst/mpegts/gstmpegtssection.h>
|
||||
#include <gst/mpegts/gstmpegtsdescriptor.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/**
|
||||
* GstMpegTsScteStreamType:
|
||||
|
@ -96,5 +97,7 @@ typedef enum {
|
|||
|
||||
} GstMpegTsSectionSCTETableID;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* GST_SCTE_SECTION_H */
|
||||
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
#ifndef _GST_MPEGTS_PRIVATE_H_
|
||||
#define _GST_MPEGTS_PRIVATE_H_
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
GST_DEBUG_CATEGORY_EXTERN (gst_mpegts_debug);
|
||||
#define GST_CAT_DEFAULT gst_mpegts_debug
|
||||
|
||||
|
@ -37,4 +39,6 @@ G_GNUC_INTERNAL gpointer __common_desc_checks (GstMpegTsSection *section,
|
|||
GstMpegTsParseFunc parsefunc,
|
||||
GDestroyNotify destroynotify);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* _GST_MPEGTS_PRIVATE_H_ */
|
||||
|
|
|
@ -34,6 +34,8 @@
|
|||
|
||||
#include <gst/gst.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/*
|
||||
* descriptor_tag TS PS Identification
|
||||
* 0 n/a n/a Reserved
|
||||
|
@ -315,4 +317,6 @@ gboolean
|
|||
gst_mpegts_descriptor_parse_logical_channel (const GstMpegTsDescriptor *descriptor,
|
||||
GstMpegTsLogicalChannelDescriptor *res);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* GST_MPEGTS_DESCRIPTOR_H */
|
||||
|
|
|
@ -27,6 +27,8 @@
|
|||
#include <gst/gst.h>
|
||||
#include <gst/mpegts/gstmpegtsdescriptor.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
typedef struct _GstMpegTsSection GstMpegTsSection;
|
||||
|
||||
#define GST_TYPE_MPEGTS_SECTION (gst_mpegts_section_get_type())
|
||||
|
@ -362,4 +364,6 @@ GstMpegTsSection *gst_mpegts_section_new (guint16 pid,
|
|||
guint8 * data,
|
||||
gsize data_size);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* GST_MPEGTS_SECTION_H */
|
||||
|
|
|
@ -37,6 +37,10 @@
|
|||
#include <gst/mpegts/gst-scte-section.h>
|
||||
#include <gst/mpegts/gstmpegts-enumtypes.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
void gst_mpegts_initialize (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue