Add -Wmissing-declarations -Wmissing-prototypes warning flags

And fix all the warnings.
This commit is contained in:
Benjamin Otte 2010-03-17 18:23:00 +01:00
parent 7e363149f3
commit 3342b1679e
156 changed files with 412 additions and 249 deletions

View file

@ -272,10 +272,10 @@ dnl set location of plugin directory
AG_GST_SET_PLUGINDIR AG_GST_SET_PLUGINDIR
dnl define an ERROR_CFLAGS Makefile variable dnl define an ERROR_CFLAGS Makefile variable
AG_GST_SET_ERROR_CFLAGS($GST_GIT) AG_GST_SET_ERROR_CFLAGS($GST_GIT, [-Wmissing-declarations -Wmissing-prototypes])
dnl define an ERROR_CXXFLAGS Makefile variable dnl define an ERROR_CXXFLAGS Makefile variable
AG_GST_SET_ERROR_CXXFLAGS($GST_GIT) AG_GST_SET_ERROR_CXXFLAGS($GST_GIT, [-Wmissing-declarations -Wmissing-prototypes])
dnl define correct level for debugging messages dnl define correct level for debugging messages
AG_GST_SET_LEVEL_DEFAULT($GST_GIT) AG_GST_SET_LEVEL_DEFAULT($GST_GIT)

View file

@ -27,6 +27,7 @@
#include <math.h> #include <math.h>
#include <gst/tag/tag.h> #include <gst/tag/tag.h>
#include "gstannodex.h"
#include "gstcmmlparser.h" #include "gstcmmlparser.h"
#include "gstcmmlenc.h" #include "gstcmmlenc.h"
#include "gstcmmldec.h" #include "gstcmmldec.h"

View file

@ -91,6 +91,8 @@ struct _GstCmmlDecClass
GstElementClass parent_class; GstElementClass parent_class;
}; };
GType gst_cmml_dec_get_type (void);
gboolean gst_cmml_dec_plugin_init (GstPlugin * plugin); gboolean gst_cmml_dec_plugin_init (GstPlugin * plugin);
#endif /* __GST_CMML_DEC_H__ */ #endif /* __GST_CMML_DEC_H__ */

View file

@ -72,6 +72,8 @@ struct _GstCmmlEncClass
GstElementClass parent_class; GstElementClass parent_class;
}; };
GType gst_cmml_enc_get_type (void);
gboolean gst_cmml_enc_plugin_init (GstPlugin * plugin); gboolean gst_cmml_enc_plugin_init (GstPlugin * plugin);
#endif /* __GST_CMML_ENC_H__ */ #endif /* __GST_CMML_ENC_H__ */

View file

@ -121,7 +121,7 @@ gst_cmml_parser_parse_chunk (GstCmmlParser * parser,
/* convert an xmlNodePtr to a string /* convert an xmlNodePtr to a string
*/ */
guchar * static guchar *
gst_cmml_parser_node_to_string (GstCmmlParser * parser, xmlNodePtr node) gst_cmml_parser_node_to_string (GstCmmlParser * parser, xmlNodePtr node)
{ {
xmlBufferPtr xml_buffer; xmlBufferPtr xml_buffer;

View file

@ -386,27 +386,3 @@ gst_cmml_track_list_get_track_last_clip (GHashTable * tracks,
return res ? GST_CMML_TAG_CLIP (res->data) : NULL; return res ? GST_CMML_TAG_CLIP (res->data) : NULL;
} }
void
gst_cmml_track_list_set_data (GHashTable * tracks,
const gchar * track_name, gpointer data)
{
GstCmmlTrack *track;
g_return_if_fail (track_name != NULL);
track = g_hash_table_lookup (tracks, track_name);
if (track)
track->user_data = data;
}
gpointer
gst_cmml_track_get_data (GHashTable * tracks, const gchar * track_name)
{
GstCmmlTrack *track;
g_return_val_if_fail (track_name != NULL, NULL);
track = g_hash_table_lookup (tracks, track_name);
return track ? track->user_data : NULL;
}

View file

@ -132,7 +132,7 @@ static GstStaticPadTemplate src_temp = GST_STATIC_PAD_TEMPLATE ("src",
); );
#define GST_TYPE_DVDEC_QUALITY (gst_dvdec_quality_get_type()) #define GST_TYPE_DVDEC_QUALITY (gst_dvdec_quality_get_type())
GType static GType
gst_dvdec_quality_get_type (void) gst_dvdec_quality_get_type (void)
{ {
static GType qtype = 0; static GType qtype = 0;

View file

@ -232,7 +232,7 @@ static const GstFlacEncParams flacenc_params[] = {
#define DEFAULT_SEEKPOINTS 0 #define DEFAULT_SEEKPOINTS 0
#define GST_TYPE_FLAC_ENC_QUALITY (gst_flac_enc_quality_get_type ()) #define GST_TYPE_FLAC_ENC_QUALITY (gst_flac_enc_quality_get_type ())
GType static GType
gst_flac_enc_quality_get_type (void) gst_flac_enc_quality_get_type (void)
{ {
static GType qtype = 0; static GType qtype = 0;

View file

@ -28,6 +28,7 @@
#include "gstgdkpixbuf.h" #include "gstgdkpixbuf.h"
#include "gstgdkpixbufsink.h" #include "gstgdkpixbufsink.h"
#include "pixbufscale.h"
GST_DEBUG_CATEGORY_STATIC (gst_gdk_pixbuf_debug); GST_DEBUG_CATEGORY_STATIC (gst_gdk_pixbuf_debug);
#define GST_CAT_DEFAULT gst_gdk_pixbuf_debug #define GST_CAT_DEFAULT gst_gdk_pixbuf_debug
@ -75,8 +76,6 @@ static GstStaticPadTemplate gst_gdk_pixbuf_src_template =
GST_STATIC_CAPS (GST_VIDEO_CAPS_RGB "; " GST_VIDEO_CAPS_RGBA) GST_STATIC_CAPS (GST_VIDEO_CAPS_RGB "; " GST_VIDEO_CAPS_RGBA)
); );
gboolean pixbufscale_init (GstPlugin * plugin);
static void gst_gdk_pixbuf_base_init (gpointer g_class); static void gst_gdk_pixbuf_base_init (gpointer g_class);
static void gst_gdk_pixbuf_class_init (GstGdkPixbufClass * klass); static void gst_gdk_pixbuf_class_init (GstGdkPixbufClass * klass);
static void gst_gdk_pixbuf_init (GstGdkPixbuf * filter, static void gst_gdk_pixbuf_init (GstGdkPixbuf * filter,

View file

@ -75,7 +75,9 @@ struct _GstPixbufScaleClass {
GstBaseTransformClass parent_class; GstBaseTransformClass parent_class;
}; };
static GType gst_pixbufscale_get_type(void); GType gst_pixbufscale_get_type(void);
gboolean pixbufscale_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -14,6 +14,7 @@ libgstjpeg_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstjpeg_la_LIBTOOLFLAGS = --tag=disable-static libgstjpeg_la_LIBTOOLFLAGS = --tag=disable-static
noinst_HEADERS = \ noinst_HEADERS = \
gstjpeg.h \
gstjpegdec.h gstjpegenc.h \ gstjpegdec.h gstjpegenc.h \
gstsmokeenc.h gstsmokedec.h \ gstsmokeenc.h gstsmokedec.h \
smokecodec.h smokeformat.h smokecodec.h smokeformat.h

View file

@ -24,6 +24,7 @@
#include <gst/gst.h> #include <gst/gst.h>
#include "gstjpeg.h"
#include "gstjpegdec.h" #include "gstjpegdec.h"
#include "gstjpegenc.h" #include "gstjpegenc.h"
#include "gstsmokeenc.h" #include "gstsmokeenc.h"

34
ext/jpeg/gstjpeg.h Normal file
View file

@ -0,0 +1,34 @@
/* GStreamer
* Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef __GST_JPEG_H__
#define __GST_JPEG_H__
#include <glib-object.h>
G_BEGIN_DECLS
GType gst_idct_method_get_type (void);
G_END_DECLS
#endif /* __GST_JPEG_H__ */

View file

@ -38,6 +38,7 @@
#include <string.h> #include <string.h>
#include "gstjpegdec.h" #include "gstjpegdec.h"
#include "gstjpeg.h"
#include <gst/video/video.h> #include <gst/video/video.h>
#include "gst/gst-i18n-plugin.h" #include "gst/gst-i18n-plugin.h"
#include <jerror.h> #include <jerror.h>

View file

@ -36,6 +36,7 @@
#include <string.h> #include <string.h>
#include "gstjpegenc.h" #include "gstjpegenc.h"
#include "gstjpeg.h"
#include <gst/video/video.h> #include <gst/video/video.h>
/* experimental */ /* experimental */

View file

@ -107,7 +107,7 @@ gst_wavpack_stream_reader_write_bytes (void *id, void *data, int32_t bcount)
} }
WavpackStreamReader * WavpackStreamReader *
gst_wavpack_stream_reader_new () gst_wavpack_stream_reader_new (void)
{ {
WavpackStreamReader *stream_reader = WavpackStreamReader *stream_reader =
(WavpackStreamReader *) g_malloc0 (sizeof (WavpackStreamReader)); (WavpackStreamReader *) g_malloc0 (sizeof (WavpackStreamReader));

View file

@ -31,6 +31,6 @@ typedef struct
uint32_t position; uint32_t position;
} read_id; } read_id;
WavpackStreamReader *gst_wavpack_stream_reader_new (); WavpackStreamReader *gst_wavpack_stream_reader_new (void);
#endif #endif

View file

@ -105,6 +105,7 @@ GstStaticPadTemplate bmd_sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
GST_DEBUG_CATEGORY_INIT (gst_break_my_data_debug, "breakmydata", 0, \ GST_DEBUG_CATEGORY_INIT (gst_break_my_data_debug, "breakmydata", 0, \
"debugging category for breakmydata element"); "debugging category for breakmydata element");
GType gst_break_my_data_get_type (void);
GST_BOILERPLATE_FULL (GstBreakMyData, gst_break_my_data, GstBaseTransform, GST_BOILERPLATE_FULL (GstBreakMyData, gst_break_my_data, GstBaseTransform,
GST_TYPE_BASE_TRANSFORM, DEBUG_INIT); GST_TYPE_BASE_TRANSFORM, DEBUG_INIT);

View file

@ -65,6 +65,7 @@ static void gst_navseek_set_property (GObject * object, guint prop_id,
static void gst_navseek_get_property (GObject * object, guint prop_id, static void gst_navseek_get_property (GObject * object, guint prop_id,
GValue * value, GParamSpec * pspec); GValue * value, GParamSpec * pspec);
GType gst_navseek_get_type (void);
GST_BOILERPLATE (GstNavSeek, gst_navseek, GstBaseTransform, GST_BOILERPLATE (GstNavSeek, gst_navseek, GstBaseTransform,
GST_TYPE_BASE_TRANSFORM); GST_TYPE_BASE_TRANSFORM);

View file

@ -96,6 +96,7 @@ static GstStateChangeReturn gst_rnd_buffer_size_change_state (GstElement *
GST_DEBUG_CATEGORY_INIT (gst_rnd_buffer_size_debug, "rndbuffersize", 0, \ GST_DEBUG_CATEGORY_INIT (gst_rnd_buffer_size_debug, "rndbuffersize", 0, \
"rndbuffersize element"); "rndbuffersize element");
GType gst_rnd_buffer_size_get_type (void);
GST_BOILERPLATE_FULL (GstRndBufferSize, gst_rnd_buffer_size, GstElement, GST_BOILERPLATE_FULL (GstRndBufferSize, gst_rnd_buffer_size, GstElement,
GST_TYPE_ELEMENT, DEBUG_INIT); GST_TYPE_ELEMENT, DEBUG_INIT);

View file

@ -90,6 +90,7 @@ static const GstElementDetails details = GST_ELEMENT_DETAILS ("Test plugin",
GST_DEBUG_CATEGORY_INIT (gst_test_debug, "testsink", 0, \ GST_DEBUG_CATEGORY_INIT (gst_test_debug, "testsink", 0, \
"debugging category for testsink element"); "debugging category for testsink element");
GType gst_test_get_type (void);
GST_BOILERPLATE_FULL (GstTest, gst_test, GstBaseSink, GST_TYPE_BASE_SINK, GST_BOILERPLATE_FULL (GstTest, gst_test, GstBaseSink, GST_TYPE_BASE_SINK,
DEBUG_INIT); DEBUG_INIT);

View file

@ -29,7 +29,7 @@
#include "x86-64_macros.inc" #include "x86-64_macros.inc"
void static void
FUNCT_NAME (GstDeinterlaceMethodGreedyH *self, uint8_t * L1, uint8_t * L2, uint8_t * L3, uint8_t * L2P, FUNCT_NAME (GstDeinterlaceMethodGreedyH *self, uint8_t * L1, uint8_t * L2, uint8_t * L3, uint8_t * L2P,
uint8_t * Dest, int size) uint8_t * Dest, int size)
{ {

View file

@ -63,7 +63,7 @@ typedef struct
uint8_t * L1, uint8_t * L3, uint8_t * L2P, uint8_t * Dest, int size); uint8_t * L1, uint8_t * L3, uint8_t * L2P, uint8_t * Dest, int size);
} GstDeinterlaceMethodGreedyHClass; } GstDeinterlaceMethodGreedyHClass;
void static void
greedyDScaler_C (GstDeinterlaceMethodGreedyH * self, uint8_t * L1, uint8_t * L2, greedyDScaler_C (GstDeinterlaceMethodGreedyH * self, uint8_t * L1, uint8_t * L2,
uint8_t * L3, uint8_t * L2P, uint8_t * Dest, int size) uint8_t * L3, uint8_t * L2P, uint8_t * Dest, int size)
{ {

View file

@ -98,7 +98,7 @@ typedef union {
/* Function to test if multimedia instructions are supported... /* Function to test if multimedia instructions are supported...
*/ */
inline extern int static inline int
mm_support(void) mm_support(void)
{ {
/* Returns 1 if MMX instructions are supported, /* Returns 1 if MMX instructions are supported,
@ -251,7 +251,7 @@ mm_support(void)
/* Function to test if mmx instructions are supported... /* Function to test if mmx instructions are supported...
*/ */
inline extern int static inline int
mmx_ok(void) mmx_ok(void)
{ {
/* Returns 1 if MMX instructions are supported, 0 otherwise */ /* Returns 1 if MMX instructions are supported, 0 otherwise */

View file

@ -61,7 +61,7 @@
#define SEFUNC(x) Search_Effort_C_##x(src_pitch, dst_pitch, rowsize, pWeaveSrc, pWeaveSrcP, pWeaveDest, IsOdd, pCopySrc, pCopySrcP, FldHeight) #define SEFUNC(x) Search_Effort_C_##x(src_pitch, dst_pitch, rowsize, pWeaveSrc, pWeaveSrcP, pWeaveDest, IsOdd, pCopySrc, pCopySrcP, FldHeight)
#endif #endif
void FUNCT_NAME(GstDeinterlaceMethod *d_method, GstDeinterlace* object, GstBuffer *outbuf) static void FUNCT_NAME(GstDeinterlaceMethod *d_method, GstDeinterlace* object, GstBuffer *outbuf)
{ {
GstDeinterlaceMethodTomsMoComp *self = GST_DEINTERLACE_METHOD_TOMSMOCOMP (d_method); GstDeinterlaceMethodTomsMoComp *self = GST_DEINTERLACE_METHOD_TOMSMOCOMP (d_method);
long SearchEffort = self->search_effort; long SearchEffort = self->search_effort;

View file

@ -22,7 +22,7 @@
#include "goom_visual_fx.h" #include "goom_visual_fx.h"
#include "goom_plugin_info.h" #include "goom_plugin_info.h"
VisualFX convolve_create (); VisualFX convolve_create (void);
VisualFX flying_star_create (void); VisualFX flying_star_create (void);
void zoom_filter_c(int sizeX, int sizeY, Pixel *src, Pixel *dest, int *brutS, int *brutD, int buffratio, int precalCoef[16][16]); void zoom_filter_c(int sizeX, int sizeY, Pixel *src, Pixel *dest, int *brutS, int *brutD, int buffratio, int precalCoef[16][16]);

View file

@ -64,7 +64,7 @@ static int firstTime = 1;
static int sintable[0xffff]; static int sintable[0xffff];
ZoomFilterData * ZoomFilterData *
zoomFilterNew () zoomFilterNew (void)
{ {
ZoomFilterData *zf = malloc (sizeof (ZoomFilterData)); ZoomFilterData *zf = malloc (sizeof (ZoomFilterData));
@ -106,7 +106,7 @@ ShiftRight (int x, const unsigned char s)
px et py indique la nouvelle position (en sqrtperte ieme de pixel) px et py indique la nouvelle position (en sqrtperte ieme de pixel)
(valeur * 16) (valeur * 16)
*/ */
void static void
calculatePXandPY (GoomData * gd, int x, int y, int *px, int *py) calculatePXandPY (GoomData * gd, int x, int y, int *px, int *py)
{ {
ZoomFilterData *zf = gd->zfd; ZoomFilterData *zf = gd->zfd;

View file

@ -55,7 +55,7 @@ Uint middleX,
Uint middleY); Uint middleY);
*/ */
ZoomFilterData *zoomFilterNew (); ZoomFilterData *zoomFilterNew (void);
void zoomFilterDestroy (ZoomFilterData *zf); void zoomFilterDestroy (ZoomFilterData *zf);
void zoomFilterFastRGB (GoomData *goomdata, ZoomFilterData *zf, void zoomFilterFastRGB (GoomData *goomdata, ZoomFilterData *zf,
int zfd_update); int zfd_update);

View file

@ -25,6 +25,8 @@
#include <glib.h> #include <glib.h>
#include "mulaw-conversion.h"
#undef ZEROTRAP /* turn on the trap as per the MIL-STD */ #undef ZEROTRAP /* turn on the trap as per the MIL-STD */
#define BIAS 0x84 /* define the add-in bias for 16 bit samples */ #define BIAS 0x84 /* define the add-in bias for 16 bit samples */
#define CLIP 32635 #define CLIP 32635

View file

@ -175,6 +175,7 @@ static GstCaps
/* stream methods */ /* stream methods */
static void gst_matroska_demux_reset (GstElement * element); static void gst_matroska_demux_reset (GstElement * element);
GType gst_matroska_demux_get_type (void);
GST_BOILERPLATE (GstMatroskaDemux, gst_matroska_demux, GstEbmlRead, GST_BOILERPLATE (GstMatroskaDemux, gst_matroska_demux, GstEbmlRead,
GST_TYPE_EBML_READ); GST_TYPE_EBML_READ);

View file

@ -199,6 +199,7 @@ G_LOCK_DEFINE_STATIC (used_uids);
static void gst_matroska_mux_add_interfaces (GType type); static void gst_matroska_mux_add_interfaces (GType type);
GType gst_matroska_mux_get_type (void);
GST_BOILERPLATE_FULL (GstMatroskaMux, gst_matroska_mux, GstElement, GST_BOILERPLATE_FULL (GstMatroskaMux, gst_matroska_mux, GstElement,
GST_TYPE_ELEMENT, gst_matroska_mux_add_interfaces); GST_TYPE_ELEMENT, gst_matroska_mux_add_interfaces);
@ -2343,7 +2344,7 @@ gst_matroska_mux_best_pad (GstMatroskaMux * mux, gboolean * popped)
* *
* Returns: New buffer. * Returns: New buffer.
*/ */
GstBuffer * static GstBuffer *
gst_matroska_mux_create_buffer_header (GstMatroskaTrackContext * track, gst_matroska_mux_create_buffer_header (GstMatroskaTrackContext * track,
gint16 relative_timestamp, int flags) gint16 relative_timestamp, int flags)
{ {

View file

@ -23,8 +23,8 @@
#include <gst/gst.h> #include <gst/gst.h>
extern gboolean gst_multipart_demux_plugin_init (GstPlugin * plugin); #include "multipartdemux.h"
extern gboolean gst_multipart_mux_plugin_init (GstPlugin * plugin); #include "multipartmux.h"
static gboolean static gboolean
plugin_init (GstPlugin * plugin) plugin_init (GstPlugin * plugin)

View file

@ -200,7 +200,7 @@ gst_multipart_demux_init (GstMultipartDemux * multipart,
multipart->autoscan = DEFAULT_AUTOSCAN; multipart->autoscan = DEFAULT_AUTOSCAN;
} }
void static void
gst_multipart_pad_free (GstMultipartPad * mppad) gst_multipart_pad_free (GstMultipartPad * mppad)
{ {
g_free (mppad->mime); g_free (mppad->mime);

View file

@ -93,6 +93,10 @@ struct _GstMultipartDemuxClass
GHashTable *gstnames; GHashTable *gstnames;
}; };
GType gst_multipart_demux_get_type (void);
gboolean gst_multipart_demux_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS
#endif /* __GST_MULTIPART_DEMUX__ */ #endif /* __GST_MULTIPART_DEMUX__ */

View file

@ -231,11 +231,11 @@ gst_multipart_mux_request_new_pad (GstElement * element,
/* construct our own wrapper data structure for the pad to /* construct our own wrapper data structure for the pad to
* keep track of its status */ * keep track of its status */
{ {
GstMultipartPad *multipartpad; GstMultipartPadData *multipartpad;
multipartpad = (GstMultipartPad *) multipartpad = (GstMultipartPadData *)
gst_collect_pads_add_pad (multipart_mux->collect, newpad, gst_collect_pads_add_pad (multipart_mux->collect, newpad,
sizeof (GstMultipartPad)); sizeof (GstMultipartPadData));
/* save a pointer to our data in the pad */ /* save a pointer to our data in the pad */
gst_pad_set_element_private (newpad, multipartpad); gst_pad_set_element_private (newpad, multipartpad);
@ -338,7 +338,7 @@ gst_multipart_mux_get_mime (GstMultipartMux * mux, GstStructure * s)
*/ */
static gint static gint
gst_multipart_mux_compare_pads (GstMultipartMux * multipart_mux, gst_multipart_mux_compare_pads (GstMultipartMux * multipart_mux,
GstMultipartPad * old, GstMultipartPad * new) GstMultipartPadData * old, GstMultipartPadData * new)
{ {
guint64 oldtime, newtime; guint64 oldtime, newtime;
@ -372,11 +372,11 @@ gst_multipart_mux_compare_pads (GstMultipartMux * multipart_mux,
/* make sure a buffer is queued on all pads, returns a pointer to an multipartpad /* make sure a buffer is queued on all pads, returns a pointer to an multipartpad
* that holds the best buffer or NULL when no pad was usable */ * that holds the best buffer or NULL when no pad was usable */
static GstMultipartPad * static GstMultipartPadData *
gst_multipart_mux_queue_pads (GstMultipartMux * mux) gst_multipart_mux_queue_pads (GstMultipartMux * mux)
{ {
GSList *walk = NULL; GSList *walk = NULL;
GstMultipartPad *bestpad = NULL; GstMultipartPadData *bestpad = NULL;
g_return_val_if_fail (GST_IS_MULTIPART_MUX (mux), NULL); g_return_val_if_fail (GST_IS_MULTIPART_MUX (mux), NULL);
@ -384,7 +384,7 @@ gst_multipart_mux_queue_pads (GstMultipartMux * mux)
walk = mux->collect->data; walk = mux->collect->data;
while (walk) { while (walk) {
GstCollectData *data = (GstCollectData *) walk->data; GstCollectData *data = (GstCollectData *) walk->data;
GstMultipartPad *pad = (GstMultipartPad *) data; GstMultipartPadData *pad = (GstMultipartPadData *) data;
walk = g_slist_next (walk); walk = g_slist_next (walk);
@ -428,7 +428,7 @@ gst_multipart_mux_queue_pads (GstMultipartMux * mux)
static GstFlowReturn static GstFlowReturn
gst_multipart_mux_collected (GstCollectPads * pads, GstMultipartMux * mux) gst_multipart_mux_collected (GstCollectPads * pads, GstMultipartMux * mux)
{ {
GstMultipartPad *best; GstMultipartPadData *best;
GstFlowReturn ret = GST_FLOW_OK; GstFlowReturn ret = GST_FLOW_OK;
gchar *header = NULL; gchar *header = NULL;
size_t headerlen; size_t headerlen;

View file

@ -48,7 +48,7 @@ typedef struct
GstClockTime timestamp; /* its timestamp, converted to running_time so that we can GstClockTime timestamp; /* its timestamp, converted to running_time so that we can
correctly sort over multiple segments. */ correctly sort over multiple segments. */
} }
GstMultipartPad; GstMultipartPadData;
/** /**
* GstMultipartMux: * GstMultipartMux:
@ -84,6 +84,10 @@ struct _GstMultipartMuxClass
GHashTable *mimetypes; GHashTable *mimetypes;
}; };
GType gst_multipart_mux_get_type (void);
gboolean gst_multipart_mux_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS
#endif /* __GST_MULTIPART_MUX__ */ #endif /* __GST_MULTIPART_MUX__ */

View file

@ -695,10 +695,3 @@ gst_rtp_xqt_depay_change_state (GstElement * element, GstStateChange transition)
} }
return ret; return ret;
} }
gboolean
gst_rtp_xqt_depay_plugin_init (GstPlugin * plugin)
{
return gst_element_register (plugin, "rtpxqtdepay",
GST_RANK_MARGINAL, GST_TYPE_RTP_XQT_DEPAY);
}

View file

@ -23,6 +23,8 @@
#include <glib.h> #include <glib.h>
#include "fnv1hash.h"
/* This file implements FNV-1 hashing used in the Ogg payload encoders /* This file implements FNV-1 hashing used in the Ogg payload encoders
* to generate the 24-bit ident value based on the header pages. * to generate the 24-bit ident value based on the header pages.
* See http://isthe.com/chongo/tech/comp/fnv/ * See http://isthe.com/chongo/tech/comp/fnv/

View file

@ -26,7 +26,7 @@
G_BEGIN_DECLS G_BEGIN_DECLS
guint32 fnv1_hash_32_new (); guint32 fnv1_hash_32_new (void);
guint32 fnv1_hash_32_update (guint32 hash, const guchar *data, guint length); guint32 fnv1_hash_32_update (guint32 hash, const guchar *data, guint length);
guint32 fnv1_hash_32_to_24 (guint32 hash); guint32 fnv1_hash_32_to_24 (guint32 hash);

View file

@ -56,6 +56,8 @@ struct _GstAsteriskh263Class
GstElementClass parent_class; GstElementClass parent_class;
}; };
GType gst_asteriskh263_get_type (void);
gboolean gst_asteriskh263_plugin_init (GstPlugin * plugin); gboolean gst_asteriskh263_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -55,6 +55,8 @@ struct _GstRtpL16DepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_L16_depay_get_type (void);
gboolean gst_rtp_L16_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_L16_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -52,6 +52,8 @@ struct _GstRtpL16PayClass
GstBaseRTPAudioPayloadClass parent_class; GstBaseRTPAudioPayloadClass parent_class;
}; };
GType gst_rtp_L16_pay_get_type (void);
gboolean gst_rtp_L16_pay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_L16_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -49,6 +49,8 @@ struct _GstRtpAC3DepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_ac3_depay_get_type (void);
gboolean gst_rtp_ac3_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_ac3_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -68,6 +68,8 @@ struct _GstRtpAMRDepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_amr_depay_get_type (void);
gboolean gst_rtp_amr_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_amr_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -58,6 +58,8 @@ struct _GstRtpAMRPayClass
GstBaseRTPPayloadClass parent_class; GstBaseRTPPayloadClass parent_class;
}; };
GType gst_rtp_amr_pay_get_type (void);
gboolean gst_rtp_amr_pay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_amr_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -51,6 +51,8 @@ struct _GstRTPBVDepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_bv_depay_get_type (void);
gboolean gst_rtp_bv_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_bv_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -28,7 +28,7 @@
#include "gstrtpbvpay.h" #include "gstrtpbvpay.h"
/* elementfactory information */ /* elementfactory information */
static GstElementDetails gst_rtpbvpay_details = { static GstElementDetails gst_rtp_bv_pay_details = {
"RTP BV Payloader", "RTP BV Payloader",
"Codec/Payloader/Network", "Codec/Payloader/Network",
"Packetize BroadcomVoice audio streams into RTP packets (RFC 4298)", "Packetize BroadcomVoice audio streams into RTP packets (RFC 4298)",
@ -38,14 +38,14 @@ static GstElementDetails gst_rtpbvpay_details = {
GST_DEBUG_CATEGORY_STATIC (rtpbvpay_debug); GST_DEBUG_CATEGORY_STATIC (rtpbvpay_debug);
#define GST_CAT_DEFAULT (rtpbvpay_debug) #define GST_CAT_DEFAULT (rtpbvpay_debug)
static GstStaticPadTemplate gst_rtpbvpay_sink_template = static GstStaticPadTemplate gst_rtp_bv_pay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink", GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK, GST_PAD_SINK,
GST_PAD_ALWAYS, GST_PAD_ALWAYS,
GST_STATIC_CAPS ("audio/x-bv, " "mode = (int) {16, 32}") GST_STATIC_CAPS ("audio/x-bv, " "mode = (int) {16, 32}")
); );
static GstStaticPadTemplate gst_rtpbvpay_src_template = static GstStaticPadTemplate gst_rtp_bv_pay_src_template =
GST_STATIC_PAD_TEMPLATE ("src", GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC, GST_PAD_SRC,
GST_PAD_ALWAYS, GST_PAD_ALWAYS,
@ -61,42 +61,42 @@ static GstStaticPadTemplate gst_rtpbvpay_src_template =
); );
static GstCaps *gst_rtpbvpay_sink_getcaps (GstBaseRTPPayload * payload, static GstCaps *gst_rtp_bv_pay_sink_getcaps (GstBaseRTPPayload * payload,
GstPad * pad); GstPad * pad);
static gboolean gst_rtpbvpay_sink_setcaps (GstBaseRTPPayload * payload, static gboolean gst_rtp_bv_pay_sink_setcaps (GstBaseRTPPayload * payload,
GstCaps * caps); GstCaps * caps);
GST_BOILERPLATE (GstRTPBVPay, gst_rtpbvpay, GstBaseRTPAudioPayload, GST_BOILERPLATE (GstRTPBVPay, gst_rtp_bv_pay, GstBaseRTPAudioPayload,
GST_TYPE_BASE_RTP_AUDIO_PAYLOAD); GST_TYPE_BASE_RTP_AUDIO_PAYLOAD);
static void static void
gst_rtpbvpay_base_init (gpointer klass) gst_rtp_bv_pay_base_init (gpointer klass)
{ {
GstElementClass *element_class = GST_ELEMENT_CLASS (klass); GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
gst_element_class_add_pad_template (element_class, gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtpbvpay_sink_template)); gst_static_pad_template_get (&gst_rtp_bv_pay_sink_template));
gst_element_class_add_pad_template (element_class, gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtpbvpay_src_template)); gst_static_pad_template_get (&gst_rtp_bv_pay_src_template));
gst_element_class_set_details (element_class, &gst_rtpbvpay_details); gst_element_class_set_details (element_class, &gst_rtp_bv_pay_details);
} }
static void static void
gst_rtpbvpay_class_init (GstRTPBVPayClass * klass) gst_rtp_bv_pay_class_init (GstRTPBVPayClass * klass)
{ {
GstBaseRTPPayloadClass *gstbasertppayload_class; GstBaseRTPPayloadClass *gstbasertppayload_class;
gstbasertppayload_class = (GstBaseRTPPayloadClass *) klass; gstbasertppayload_class = (GstBaseRTPPayloadClass *) klass;
gstbasertppayload_class->set_caps = gst_rtpbvpay_sink_setcaps; gstbasertppayload_class->set_caps = gst_rtp_bv_pay_sink_setcaps;
gstbasertppayload_class->get_caps = gst_rtpbvpay_sink_getcaps; gstbasertppayload_class->get_caps = gst_rtp_bv_pay_sink_getcaps;
GST_DEBUG_CATEGORY_INIT (rtpbvpay_debug, "rtpbvpay", 0, GST_DEBUG_CATEGORY_INIT (rtpbvpay_debug, "rtpbvpay", 0,
"BroadcomVoice audio RTP payloader"); "BroadcomVoice audio RTP payloader");
} }
static void static void
gst_rtpbvpay_init (GstRTPBVPay * rtpbvpay, GstRTPBVPayClass * klass) gst_rtp_bv_pay_init (GstRTPBVPay * rtpbvpay, GstRTPBVPayClass * klass)
{ {
GstBaseRTPPayload *basertppayload; GstBaseRTPPayload *basertppayload;
GstBaseRTPAudioPayload *basertpaudiopayload; GstBaseRTPAudioPayload *basertpaudiopayload;
@ -111,7 +111,7 @@ gst_rtpbvpay_init (GstRTPBVPay * rtpbvpay, GstRTPBVPayClass * klass)
} }
static gboolean static gboolean
gst_rtpbvpay_sink_setcaps (GstBaseRTPPayload * basertppayload, GstCaps * caps) gst_rtp_bv_pay_sink_setcaps (GstBaseRTPPayload * basertppayload, GstCaps * caps)
{ {
GstRTPBVPay *rtpbvpay; GstRTPBVPay *rtpbvpay;
GstBaseRTPAudioPayload *basertpaudiopayload; GstBaseRTPAudioPayload *basertpaudiopayload;
@ -183,7 +183,7 @@ mode_changed:
/* we return the padtemplate caps with the mode field fixated to a value if we /* we return the padtemplate caps with the mode field fixated to a value if we
* can */ * can */
static GstCaps * static GstCaps *
gst_rtpbvpay_sink_getcaps (GstBaseRTPPayload * rtppayload, GstPad * pad) gst_rtp_bv_pay_sink_getcaps (GstBaseRTPPayload * rtppayload, GstPad * pad)
{ {
GstCaps *otherpadcaps; GstCaps *otherpadcaps;
GstCaps *caps; GstCaps *caps;

View file

@ -26,7 +26,7 @@
G_BEGIN_DECLS G_BEGIN_DECLS
#define GST_TYPE_RTP_BV_PAY \ #define GST_TYPE_RTP_BV_PAY \
(gst_rtpbvpay_get_type()) (gst_rtp_bv_pay_get_type())
#define GST_RTP_BV_PAY(obj) \ #define GST_RTP_BV_PAY(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RTP_BV_PAY,GstRTPBVPay)) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RTP_BV_PAY,GstRTPBVPay))
#define GST_RTP_BV_PAY_CLASS(klass) \ #define GST_RTP_BV_PAY_CLASS(klass) \
@ -51,6 +51,8 @@ struct _GstRTPBVPayClass
GstBaseRTPAudioPayloadClass parent_class; GstBaseRTPAudioPayloadClass parent_class;
}; };
GType gst_rtp_bv_pay_get_type (void);
gboolean gst_rtp_bv_pay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_bv_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -45,6 +45,8 @@ struct _GstRtpCELTDepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_celt_depay_get_type (void);
gboolean gst_rtp_celt_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_celt_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -53,6 +53,8 @@ struct _GstRtpCELTPayClass
GstBaseRTPPayloadClass parent_class; GstBaseRTPPayloadClass parent_class;
}; };
GType gst_rtp_celt_pay_get_type (void);
gboolean gst_rtp_celt_pay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_celt_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -58,6 +58,7 @@ struct _GstRTPDVDepayClass
}; };
GType gst_rtp_dv_depay_get_type (void); GType gst_rtp_dv_depay_get_type (void);
gboolean gst_rtp_dv_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_dv_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -60,6 +60,8 @@ struct _GstRTPDVPayClass
GstBaseRTPPayloadClass parent_class; GstBaseRTPPayloadClass parent_class;
}; };
GType gst_rtp_dv_pay_get_type (void);
gboolean gst_rtp_dv_pay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_dv_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -50,6 +50,8 @@ struct _GstRtpG723DepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_g723_depay_get_type (void);
gboolean gst_rtp_g723_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_g723_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -55,10 +55,10 @@ struct _GstRTPG723PayClass
GstBaseRTPPayloadClass parent_class; GstBaseRTPPayloadClass parent_class;
}; };
gboolean gst_rtp_g723_pay_plugin_init (GstPlugin * plugin);
GType gst_rtp_g723_pay_get_type (void); GType gst_rtp_g723_pay_get_type (void);
gboolean gst_rtp_g723_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS
#endif /* __GST_RTP_G723_PAY_H__ */ #endif /* __GST_RTP_G723_PAY_H__ */

View file

@ -49,6 +49,8 @@ struct _GstRtpG726DepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_g726_depay_get_type (void);
gboolean gst_rtp_g726_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_g726_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -47,6 +47,8 @@ struct _GstRtpG726PayClass
GstBaseRTPAudioPayloadClass parent_class; GstBaseRTPAudioPayloadClass parent_class;
}; };
GType gst_rtp_g726_pay_get_type (void);
gboolean gst_rtp_g726_pay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_g726_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -52,6 +52,8 @@ struct _GstRtpG729DepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_g729_depay_get_type (void);
gboolean gst_rtp_g729_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_g729_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -50,6 +50,8 @@ struct _GstRTPG729PayClass
GstBaseRTPAudioPayloadClass parent_class; GstBaseRTPAudioPayloadClass parent_class;
}; };
GType gst_rtp_g729_pay_get_type (void);
gboolean gst_rtp_g729_pay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_g729_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -49,6 +49,8 @@ struct _GstRTPGSMDepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_gsm_depay_get_type (void);
gboolean gst_rtp_gsm_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_gsm_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -50,6 +50,8 @@ struct _GstRTPGSMPayClass
GstBaseRTPPayloadClass parent_class; GstBaseRTPPayloadClass parent_class;
}; };
GType gst_rtp_gsm_pay_get_type (void);
gboolean gst_rtp_gsm_pay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_gsm_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -55,6 +55,8 @@ struct _GstRtpH263DepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_h263_depay_get_type (void);
gboolean gst_rtp_h263_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_h263_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -405,6 +405,8 @@ struct _GstRtpH263PayPackage
#define GST_RTP_H263_PAY_END(start, len) (((guint8 *)start) + ((guint)len)) #define GST_RTP_H263_PAY_END(start, len) (((guint8 *)start) + ((guint)len))
#define GST_RTP_H263_PAY_GOBN(gob) (((((guint8 *) gob)[2] >> 2) & 0x1f) #define GST_RTP_H263_PAY_GOBN(gob) (((((guint8 *) gob)[2] >> 2) & 0x1f)
GType gst_rtp_h263_pay_get_type (void);
gboolean gst_rtp_h263_pay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_h263_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -53,6 +53,8 @@ struct _GstRtpH263PDepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_h263p_depay_get_type (void);
gboolean gst_rtp_h263p_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_h263p_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -61,6 +61,8 @@ struct _GstRtpH263PPayClass
GstBaseRTPPayloadClass parent_class; GstBaseRTPPayloadClass parent_class;
}; };
GType gst_rtp_h263p_pay_get_type (void);
gboolean gst_rtp_h263p_pay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_h263p_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -63,6 +63,8 @@ struct _GstRtpH264DepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_h264_depay_get_type (void);
gboolean gst_rtp_h264_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_h264_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -73,6 +73,8 @@ struct _GstRtpH264PayClass
GstBaseRTPPayloadClass parent_class; GstBaseRTPPayloadClass parent_class;
}; };
GType gst_rtp_h264_pay_get_type (void);
gboolean gst_rtp_h264_pay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_h264_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -56,6 +56,8 @@ struct _GstRTPiLBCDepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_ilbc_depay_get_type (void);
gboolean gst_rtp_ilbc_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_ilbc_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -26,7 +26,7 @@
#include "gstrtpilbcpay.h" #include "gstrtpilbcpay.h"
/* elementfactory information */ /* elementfactory information */
static GstElementDetails gst_rtpilbcpay_details = { static GstElementDetails gst_rtp_ilbc_pay_details = {
"RTP iLBC Payloader", "RTP iLBC Payloader",
"Codec/Payloader/Network", "Codec/Payloader/Network",
"Packetize iLBC audio streams into RTP packets", "Packetize iLBC audio streams into RTP packets",
@ -36,14 +36,14 @@ static GstElementDetails gst_rtpilbcpay_details = {
GST_DEBUG_CATEGORY_STATIC (rtpilbcpay_debug); GST_DEBUG_CATEGORY_STATIC (rtpilbcpay_debug);
#define GST_CAT_DEFAULT (rtpilbcpay_debug) #define GST_CAT_DEFAULT (rtpilbcpay_debug)
static GstStaticPadTemplate gst_rtpilbcpay_sink_template = static GstStaticPadTemplate gst_rtp_ilbc_pay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink", GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK, GST_PAD_SINK,
GST_PAD_ALWAYS, GST_PAD_ALWAYS,
GST_STATIC_CAPS ("audio/x-iLBC, " "mode = (int) {20, 30}") GST_STATIC_CAPS ("audio/x-iLBC, " "mode = (int) {20, 30}")
); );
static GstStaticPadTemplate gst_rtpilbcpay_src_template = static GstStaticPadTemplate gst_rtp_ilbc_pay_src_template =
GST_STATIC_PAD_TEMPLATE ("src", GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC, GST_PAD_SRC,
GST_PAD_ALWAYS, GST_PAD_ALWAYS,
@ -56,42 +56,42 @@ GST_STATIC_PAD_TEMPLATE ("src",
); );
static GstCaps *gst_rtpilbcpay_sink_getcaps (GstBaseRTPPayload * payload, static GstCaps *gst_rtp_ilbc_pay_sink_getcaps (GstBaseRTPPayload * payload,
GstPad * pad); GstPad * pad);
static gboolean gst_rtpilbcpay_sink_setcaps (GstBaseRTPPayload * payload, static gboolean gst_rtp_ilbc_pay_sink_setcaps (GstBaseRTPPayload * payload,
GstCaps * caps); GstCaps * caps);
GST_BOILERPLATE (GstRTPILBCPay, gst_rtpilbcpay, GstBaseRTPAudioPayload, GST_BOILERPLATE (GstRTPILBCPay, gst_rtp_ilbc_pay, GstBaseRTPAudioPayload,
GST_TYPE_BASE_RTP_AUDIO_PAYLOAD); GST_TYPE_BASE_RTP_AUDIO_PAYLOAD);
static void static void
gst_rtpilbcpay_base_init (gpointer klass) gst_rtp_ilbc_pay_base_init (gpointer klass)
{ {
GstElementClass *element_class = GST_ELEMENT_CLASS (klass); GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
gst_element_class_add_pad_template (element_class, gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtpilbcpay_sink_template)); gst_static_pad_template_get (&gst_rtp_ilbc_pay_sink_template));
gst_element_class_add_pad_template (element_class, gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtpilbcpay_src_template)); gst_static_pad_template_get (&gst_rtp_ilbc_pay_src_template));
gst_element_class_set_details (element_class, &gst_rtpilbcpay_details); gst_element_class_set_details (element_class, &gst_rtp_ilbc_pay_details);
} }
static void static void
gst_rtpilbcpay_class_init (GstRTPILBCPayClass * klass) gst_rtp_ilbc_pay_class_init (GstRTPILBCPayClass * klass)
{ {
GstBaseRTPPayloadClass *gstbasertppayload_class; GstBaseRTPPayloadClass *gstbasertppayload_class;
gstbasertppayload_class = (GstBaseRTPPayloadClass *) klass; gstbasertppayload_class = (GstBaseRTPPayloadClass *) klass;
gstbasertppayload_class->set_caps = gst_rtpilbcpay_sink_setcaps; gstbasertppayload_class->set_caps = gst_rtp_ilbc_pay_sink_setcaps;
gstbasertppayload_class->get_caps = gst_rtpilbcpay_sink_getcaps; gstbasertppayload_class->get_caps = gst_rtp_ilbc_pay_sink_getcaps;
GST_DEBUG_CATEGORY_INIT (rtpilbcpay_debug, "rtpilbcpay", 0, GST_DEBUG_CATEGORY_INIT (rtpilbcpay_debug, "rtpilbcpay", 0,
"iLBC audio RTP payloader"); "iLBC audio RTP payloader");
} }
static void static void
gst_rtpilbcpay_init (GstRTPILBCPay * rtpilbcpay, GstRTPILBCPayClass * klass) gst_rtp_ilbc_pay_init (GstRTPILBCPay * rtpilbcpay, GstRTPILBCPayClass * klass)
{ {
GstBaseRTPPayload *basertppayload; GstBaseRTPPayload *basertppayload;
GstBaseRTPAudioPayload *basertpaudiopayload; GstBaseRTPAudioPayload *basertpaudiopayload;
@ -110,7 +110,8 @@ gst_rtpilbcpay_init (GstRTPILBCPay * rtpilbcpay, GstRTPILBCPayClass * klass)
} }
static gboolean static gboolean
gst_rtpilbcpay_sink_setcaps (GstBaseRTPPayload * basertppayload, GstCaps * caps) gst_rtp_ilbc_pay_sink_setcaps (GstBaseRTPPayload * basertppayload,
GstCaps * caps)
{ {
GstRTPILBCPay *rtpilbcpay; GstRTPILBCPay *rtpilbcpay;
GstBaseRTPAudioPayload *basertpaudiopayload; GstBaseRTPAudioPayload *basertpaudiopayload;
@ -181,7 +182,7 @@ mode_changed:
/* we return the padtemplate caps with the mode field fixated to a value if we /* we return the padtemplate caps with the mode field fixated to a value if we
* can */ * can */
static GstCaps * static GstCaps *
gst_rtpilbcpay_sink_getcaps (GstBaseRTPPayload * rtppayload, GstPad * pad) gst_rtp_ilbc_pay_sink_getcaps (GstBaseRTPPayload * rtppayload, GstPad * pad)
{ {
GstCaps *otherpadcaps; GstCaps *otherpadcaps;
GstCaps *caps; GstCaps *caps;

View file

@ -26,7 +26,7 @@
G_BEGIN_DECLS G_BEGIN_DECLS
#define GST_TYPE_RTP_ILBC_PAY \ #define GST_TYPE_RTP_ILBC_PAY \
(gst_rtpilbcpay_get_type()) (gst_rtp_ilbc_pay_get_type())
#define GST_RTP_ILBC_PAY(obj) \ #define GST_RTP_ILBC_PAY(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RTP_ILBC_PAY,GstRTPILBCPay)) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RTP_ILBC_PAY,GstRTPILBCPay))
#define GST_RTP_ILBC_PAY_CLASS(klass) \ #define GST_RTP_ILBC_PAY_CLASS(klass) \
@ -51,6 +51,8 @@ struct _GstRTPILBCPayClass
GstBaseRTPAudioPayloadClass parent_class; GstBaseRTPAudioPayloadClass parent_class;
}; };
GType gst_rtp_ilbc_pay_get_type (void);
gboolean gst_rtp_ilbc_pay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_ilbc_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -55,6 +55,8 @@ struct _GstRtpJ2KDepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_j2k_depay_get_type (void);
gboolean gst_rtp_j2k_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_j2k_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -52,6 +52,8 @@ struct _GstRtpJ2KPayClass
GstBaseRTPPayloadClass parent_class; GstBaseRTPPayloadClass parent_class;
}; };
GType gst_rtp_j2k_pay_get_type (void);
gboolean gst_rtp_j2k_pay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_j2k_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -60,6 +60,8 @@ struct _GstRtpJPEGDepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_jpeg_depay_get_type (void);
gboolean gst_rtp_jpeg_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_jpeg_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -57,6 +57,8 @@ struct _GstRtpJPEGPayClass
GstBaseRTPPayloadClass parent_class; GstBaseRTPPayloadClass parent_class;
}; };
GType gst_rtp_jpeg_pay_get_type (void);
gboolean gst_rtp_jpeg_pay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_jpeg_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -49,6 +49,8 @@ struct _GstRtpMP1SDepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_mp1s_depay_get_type (void);
gboolean gst_rtp_mp1s_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_mp1s_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -51,6 +51,8 @@ struct _GstRtpMP2TDepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_mp2t_depay_get_type (void);
gboolean gst_rtp_mp2t_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_mp2t_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -55,6 +55,8 @@ struct _GstRTPMP2TPayClass
GstBaseRTPPayloadClass parent_class; GstBaseRTPPayloadClass parent_class;
}; };
GType gst_rtp_mp2t_pay_get_type (void);
gboolean gst_rtp_mp2t_pay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_mp2t_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -51,6 +51,8 @@ struct _GstRtpMP4ADepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_mp4a_depay_get_type (void);
gboolean gst_rtp_mp4a_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_mp4a_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -56,6 +56,8 @@ struct _GstRtpMP4APayClass
GstBaseRTPPayloadClass parent_class; GstBaseRTPPayloadClass parent_class;
}; };
GType gst_rtp_mp4a_pay_get_type (void);
gboolean gst_rtp_mp4a_pay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_mp4a_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -76,6 +76,8 @@ struct _GstRtpMP4GDepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_mp4g_depay_get_type (void);
gboolean gst_rtp_mp4g_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_mp4g_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -62,6 +62,8 @@ struct _GstRtpMP4GPayClass
GstBaseRTPPayloadClass parent_class; GstBaseRTPPayloadClass parent_class;
}; };
GType gst_rtp_mp4g_pay_get_type (void);
gboolean gst_rtp_mp4g_pay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_mp4g_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -52,6 +52,8 @@ struct _GstRtpMP4VDepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_mp4v_depay_get_type (void);
gboolean gst_rtp_mp4v_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_mp4v_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -64,6 +64,8 @@ struct _GstRtpMP4VPayClass
GstBaseRTPPayloadClass parent_class; GstBaseRTPPayloadClass parent_class;
}; };
GType gst_rtp_mp4v_pay_get_type (void);
gboolean gst_rtp_mp4v_pay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_mp4v_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -49,6 +49,8 @@ struct _GstRtpMPADepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_mpa_depay_get_type (void);
gboolean gst_rtp_mpa_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_mpa_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -54,6 +54,8 @@ struct _GstRtpMPAPayClass
GstBaseRTPPayloadClass parent_class; GstBaseRTPPayloadClass parent_class;
}; };
GType gst_rtp_mpa_pay_get_type (void);
gboolean gst_rtp_mpa_pay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_mpa_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -49,6 +49,8 @@ struct _GstRtpMPVDepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_mpv_depay_get_type (void);
gboolean gst_rtp_mpv_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_mpv_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -55,6 +55,8 @@ struct _GstRTPMPVPayClass
GstBaseRTPPayloadClass parent_class; GstBaseRTPPayloadClass parent_class;
}; };
GType gst_rtp_mpv_pay_get_type (void);
gboolean gst_rtp_mpv_pay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_mpv_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -44,6 +44,8 @@ struct _GstRtpPcmaDepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_pcma_depay_get_type (void);
gboolean gst_rtp_pcma_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_pcma_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -45,6 +45,8 @@ struct _GstRtpPmcaPayClass
GstBaseRTPAudioPayloadClass parent_class; GstBaseRTPAudioPayloadClass parent_class;
}; };
GType gst_rtp_pcma_pay_get_type (void);
gboolean gst_rtp_pcma_pay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_pcma_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -44,6 +44,8 @@ struct _GstRtpPcmuDepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_pcmu_depay_get_type (void);
gboolean gst_rtp_pcmu_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_pcmu_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -45,6 +45,8 @@ struct _GstRtpPcmuPayClass
GstBaseRTPAudioPayloadClass parent_class; GstBaseRTPAudioPayloadClass parent_class;
}; };
GType gst_rtp_pcmu_pay_get_type (void);
gboolean gst_rtp_pcmu_pay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_pcmu_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -76,6 +76,8 @@ struct _GstRtpQDM2DepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_qdm2_depay_get_type (void);
gboolean gst_rtp_qdm2_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_qdm2_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -51,6 +51,8 @@ struct _GstRTPSirenDepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_siren_depay_get_type (void);
gboolean gst_rtp_siren_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_siren_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -27,7 +27,7 @@
#include <gst/rtp/gstrtpbuffer.h> #include <gst/rtp/gstrtpbuffer.h>
/* elementfactory information */ /* elementfactory information */
static GstElementDetails gst_rtpsirenpay_details = { static GstElementDetails gst_rtp_siren_pay_details = {
"RTP Payloader for Siren Audio", "RTP Payloader for Siren Audio",
"Codec/Payloader/Network", "Codec/Payloader/Network",
"Packetize Siren audio streams into RTP packets", "Packetize Siren audio streams into RTP packets",
@ -37,14 +37,14 @@ static GstElementDetails gst_rtpsirenpay_details = {
GST_DEBUG_CATEGORY_STATIC (rtpsirenpay_debug); GST_DEBUG_CATEGORY_STATIC (rtpsirenpay_debug);
#define GST_CAT_DEFAULT (rtpsirenpay_debug) #define GST_CAT_DEFAULT (rtpsirenpay_debug)
static GstStaticPadTemplate gst_rtpsirenpay_sink_template = static GstStaticPadTemplate gst_rtp_siren_pay_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink", GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK, GST_PAD_SINK,
GST_PAD_ALWAYS, GST_PAD_ALWAYS,
GST_STATIC_CAPS ("audio/x-siren, " "dct-length = (int) 320") GST_STATIC_CAPS ("audio/x-siren, " "dct-length = (int) 320")
); );
static GstStaticPadTemplate gst_rtpsirenpay_src_template = static GstStaticPadTemplate gst_rtp_siren_pay_src_template =
GST_STATIC_PAD_TEMPLATE ("src", GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC, GST_PAD_SRC,
GST_PAD_ALWAYS, GST_PAD_ALWAYS,
@ -56,39 +56,40 @@ GST_STATIC_PAD_TEMPLATE ("src",
"bitrate = (string) \"16000\", " "dct-length = (int) 320") "bitrate = (string) \"16000\", " "dct-length = (int) 320")
); );
static gboolean gst_rtpsirenpay_setcaps (GstBaseRTPPayload * payload, static gboolean gst_rtp_siren_pay_setcaps (GstBaseRTPPayload * payload,
GstCaps * caps); GstCaps * caps);
GST_BOILERPLATE (GstRTPSirenPay, gst_rtpsirenpay, GstBaseRTPAudioPayload, GST_BOILERPLATE (GstRTPSirenPay, gst_rtp_siren_pay, GstBaseRTPAudioPayload,
GST_TYPE_BASE_RTP_AUDIO_PAYLOAD); GST_TYPE_BASE_RTP_AUDIO_PAYLOAD);
static void static void
gst_rtpsirenpay_base_init (gpointer klass) gst_rtp_siren_pay_base_init (gpointer klass)
{ {
GstElementClass *element_class = GST_ELEMENT_CLASS (klass); GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
gst_element_class_add_pad_template (element_class, gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtpsirenpay_sink_template)); gst_static_pad_template_get (&gst_rtp_siren_pay_sink_template));
gst_element_class_add_pad_template (element_class, gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&gst_rtpsirenpay_src_template)); gst_static_pad_template_get (&gst_rtp_siren_pay_src_template));
gst_element_class_set_details (element_class, &gst_rtpsirenpay_details); gst_element_class_set_details (element_class, &gst_rtp_siren_pay_details);
} }
static void static void
gst_rtpsirenpay_class_init (GstRTPSirenPayClass * klass) gst_rtp_siren_pay_class_init (GstRTPSirenPayClass * klass)
{ {
GstBaseRTPPayloadClass *gstbasertppayload_class; GstBaseRTPPayloadClass *gstbasertppayload_class;
gstbasertppayload_class = (GstBaseRTPPayloadClass *) klass; gstbasertppayload_class = (GstBaseRTPPayloadClass *) klass;
gstbasertppayload_class->set_caps = gst_rtpsirenpay_setcaps; gstbasertppayload_class->set_caps = gst_rtp_siren_pay_setcaps;
GST_DEBUG_CATEGORY_INIT (rtpsirenpay_debug, "rtpsirenpay", 0, GST_DEBUG_CATEGORY_INIT (rtpsirenpay_debug, "rtpsirenpay", 0,
"siren audio RTP payloader"); "siren audio RTP payloader");
} }
static void static void
gst_rtpsirenpay_init (GstRTPSirenPay * rtpsirenpay, GstRTPSirenPayClass * klass) gst_rtp_siren_pay_init (GstRTPSirenPay * rtpsirenpay,
GstRTPSirenPayClass * klass)
{ {
GstBaseRTPPayload *basertppayload; GstBaseRTPPayload *basertppayload;
GstBaseRTPAudioPayload *basertpaudiopayload; GstBaseRTPAudioPayload *basertpaudiopayload;
@ -105,7 +106,7 @@ gst_rtpsirenpay_init (GstRTPSirenPay * rtpsirenpay, GstRTPSirenPayClass * klass)
} }
static gboolean static gboolean
gst_rtpsirenpay_setcaps (GstBaseRTPPayload * basertppayload, GstCaps * caps) gst_rtp_siren_pay_setcaps (GstBaseRTPPayload * basertppayload, GstCaps * caps)
{ {
GstRTPSirenPay *rtpsirenpay; GstRTPSirenPay *rtpsirenpay;
GstBaseRTPAudioPayload *basertpaudiopayload; GstBaseRTPAudioPayload *basertpaudiopayload;

View file

@ -27,7 +27,7 @@
G_BEGIN_DECLS G_BEGIN_DECLS
#define GST_TYPE_RTP_SIREN_PAY \ #define GST_TYPE_RTP_SIREN_PAY \
(gst_rtpsirenpay_get_type()) (gst_rtp_siren_pay_get_type())
#define GST_RTP_SIREN_PAY(obj) \ #define GST_RTP_SIREN_PAY(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RTP_SIREN_PAY,GstRTPSirenPay)) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RTP_SIREN_PAY,GstRTPSirenPay))
#define GST_RTP_SIREN_PAY_CLASS(klass) \ #define GST_RTP_SIREN_PAY_CLASS(klass) \
@ -49,6 +49,8 @@ struct _GstRTPSirenPayClass
GstBaseRTPAudioPayloadClass parent_class; GstBaseRTPAudioPayloadClass parent_class;
}; };
GType gst_rtp_siren_pay_get_type (void);
gboolean gst_rtp_siren_pay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_siren_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -44,6 +44,8 @@ struct _GstRtpSPEEXDepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_speex_depay_get_type (void);
gboolean gst_rtp_speex_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_speex_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -47,6 +47,8 @@ struct _GstRtpSPEEXPayClass
GstBaseRTPPayloadClass parent_class; GstBaseRTPPayloadClass parent_class;
}; };
GType gst_rtp_speex_pay_get_type (void);
gboolean gst_rtp_speex_pay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_speex_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -58,6 +58,8 @@ struct _GstRtpSV3VDepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_sv3v_depay_get_type (void);
gboolean gst_rtp_sv3v_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_sv3v_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -61,6 +61,8 @@ struct _GstRtpTheoraDepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_theora_depay_get_type (void);
gboolean gst_rtp_theora_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_theora_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -68,6 +68,8 @@ struct _GstRtpTheoraPayClass
GstBaseRTPPayloadClass parent_class; GstBaseRTPPayloadClass parent_class;
}; };
GType gst_rtp_theora_pay_get_type (void);
gboolean gst_rtp_theora_pay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_theora_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

View file

@ -61,6 +61,8 @@ struct _GstRtpVorbisDepayClass
GstBaseRTPDepayloadClass parent_class; GstBaseRTPDepayloadClass parent_class;
}; };
GType gst_rtp_vorbis_depay_get_type (void);
gboolean gst_rtp_vorbis_depay_plugin_init (GstPlugin * plugin); gboolean gst_rtp_vorbis_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS G_END_DECLS

Some files were not shown because too many files have changed in this diff Show more