Commit 3342b167 authored by Benjamin Otte's avatar Benjamin Otte

Add -Wmissing-declarations -Wmissing-prototypes warning flags

And fix all the warnings.
parent 7e363149
......@@ -272,10 +272,10 @@ dnl set location of plugin directory
AG_GST_SET_PLUGINDIR
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
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
AG_GST_SET_LEVEL_DEFAULT($GST_GIT)
......
......@@ -27,6 +27,7 @@
#include <math.h>
#include <gst/tag/tag.h>
#include "gstannodex.h"
#include "gstcmmlparser.h"
#include "gstcmmlenc.h"
#include "gstcmmldec.h"
......
......@@ -91,6 +91,8 @@ struct _GstCmmlDecClass
GstElementClass parent_class;
};
GType gst_cmml_dec_get_type (void);
gboolean gst_cmml_dec_plugin_init (GstPlugin * plugin);
#endif /* __GST_CMML_DEC_H__ */
......@@ -72,6 +72,8 @@ struct _GstCmmlEncClass
GstElementClass parent_class;
};
GType gst_cmml_enc_get_type (void);
gboolean gst_cmml_enc_plugin_init (GstPlugin * plugin);
#endif /* __GST_CMML_ENC_H__ */
......@@ -121,7 +121,7 @@ gst_cmml_parser_parse_chunk (GstCmmlParser * parser,
/* convert an xmlNodePtr to a string
*/
guchar *
static guchar *
gst_cmml_parser_node_to_string (GstCmmlParser * parser, xmlNodePtr node)
{
xmlBufferPtr xml_buffer;
......
......@@ -386,27 +386,3 @@ gst_cmml_track_list_get_track_last_clip (GHashTable * tracks,
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;
}
......@@ -132,7 +132,7 @@ static GstStaticPadTemplate src_temp = GST_STATIC_PAD_TEMPLATE ("src",
);
#define GST_TYPE_DVDEC_QUALITY (gst_dvdec_quality_get_type())
GType
static GType
gst_dvdec_quality_get_type (void)
{
static GType qtype = 0;
......
......@@ -232,7 +232,7 @@ static const GstFlacEncParams flacenc_params[] = {
#define DEFAULT_SEEKPOINTS 0
#define GST_TYPE_FLAC_ENC_QUALITY (gst_flac_enc_quality_get_type ())
GType
static GType
gst_flac_enc_quality_get_type (void)
{
static GType qtype = 0;
......
......@@ -28,6 +28,7 @@
#include "gstgdkpixbuf.h"
#include "gstgdkpixbufsink.h"
#include "pixbufscale.h"
GST_DEBUG_CATEGORY_STATIC (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)
);
gboolean pixbufscale_init (GstPlugin * plugin);
static void gst_gdk_pixbuf_base_init (gpointer g_class);
static void gst_gdk_pixbuf_class_init (GstGdkPixbufClass * klass);
static void gst_gdk_pixbuf_init (GstGdkPixbuf * filter,
......
......@@ -75,7 +75,9 @@ struct _GstPixbufScaleClass {
GstBaseTransformClass parent_class;
};
static GType gst_pixbufscale_get_type(void);
GType gst_pixbufscale_get_type(void);
gboolean pixbufscale_init (GstPlugin * plugin);
G_END_DECLS
......
......@@ -14,6 +14,7 @@ libgstjpeg_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstjpeg_la_LIBTOOLFLAGS = --tag=disable-static
noinst_HEADERS = \
gstjpeg.h \
gstjpegdec.h gstjpegenc.h \
gstsmokeenc.h gstsmokedec.h \
smokecodec.h smokeformat.h
......@@ -24,6 +24,7 @@
#include <gst/gst.h>
#include "gstjpeg.h"
#include "gstjpegdec.h"
#include "gstjpegenc.h"
#include "gstsmokeenc.h"
......
/* 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__ */
......@@ -38,6 +38,7 @@
#include <string.h>
#include "gstjpegdec.h"
#include "gstjpeg.h"
#include <gst/video/video.h>
#include "gst/gst-i18n-plugin.h"
#include <jerror.h>
......
......@@ -36,6 +36,7 @@
#include <string.h>
#include "gstjpegenc.h"
#include "gstjpeg.h"
#include <gst/video/video.h>
/* experimental */
......
......@@ -107,7 +107,7 @@ gst_wavpack_stream_reader_write_bytes (void *id, void *data, int32_t bcount)
}
WavpackStreamReader *
gst_wavpack_stream_reader_new ()
gst_wavpack_stream_reader_new (void)
{
WavpackStreamReader *stream_reader =
(WavpackStreamReader *) g_malloc0 (sizeof (WavpackStreamReader));
......
......@@ -31,6 +31,6 @@ typedef struct
uint32_t position;
} read_id;
WavpackStreamReader *gst_wavpack_stream_reader_new ();
WavpackStreamReader *gst_wavpack_stream_reader_new (void);
#endif
......@@ -105,6 +105,7 @@ GstStaticPadTemplate bmd_sink_template = GST_STATIC_PAD_TEMPLATE ("sink",
GST_DEBUG_CATEGORY_INIT (gst_break_my_data_debug, "breakmydata", 0, \
"debugging category for breakmydata element");
GType gst_break_my_data_get_type (void);
GST_BOILERPLATE_FULL (GstBreakMyData, gst_break_my_data, GstBaseTransform,
GST_TYPE_BASE_TRANSFORM, DEBUG_INIT);
......
......@@ -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,
GValue * value, GParamSpec * pspec);
GType gst_navseek_get_type (void);
GST_BOILERPLATE (GstNavSeek, gst_navseek, GstBaseTransform,
GST_TYPE_BASE_TRANSFORM);
......
......@@ -96,6 +96,7 @@ static GstStateChangeReturn gst_rnd_buffer_size_change_state (GstElement *
GST_DEBUG_CATEGORY_INIT (gst_rnd_buffer_size_debug, "rndbuffersize", 0, \
"rndbuffersize element");
GType gst_rnd_buffer_size_get_type (void);
GST_BOILERPLATE_FULL (GstRndBufferSize, gst_rnd_buffer_size, GstElement,
GST_TYPE_ELEMENT, DEBUG_INIT);
......
......@@ -90,6 +90,7 @@ static const GstElementDetails details = GST_ELEMENT_DETAILS ("Test plugin",
GST_DEBUG_CATEGORY_INIT (gst_test_debug, "testsink", 0, \
"debugging category for testsink element");
GType gst_test_get_type (void);
GST_BOILERPLATE_FULL (GstTest, gst_test, GstBaseSink, GST_TYPE_BASE_SINK,
DEBUG_INIT);
......
......@@ -29,7 +29,7 @@
#include "x86-64_macros.inc"
void
static void
FUNCT_NAME (GstDeinterlaceMethodGreedyH *self, uint8_t * L1, uint8_t * L2, uint8_t * L3, uint8_t * L2P,
uint8_t * Dest, int size)
{
......
......@@ -63,7 +63,7 @@ typedef struct
uint8_t * L1, uint8_t * L3, uint8_t * L2P, uint8_t * Dest, int size);
} GstDeinterlaceMethodGreedyHClass;
void
static void
greedyDScaler_C (GstDeinterlaceMethodGreedyH * self, uint8_t * L1, uint8_t * L2,
uint8_t * L3, uint8_t * L2P, uint8_t * Dest, int size)
{
......
......@@ -98,7 +98,7 @@ typedef union {
/* Function to test if multimedia instructions are supported...
*/
inline extern int
static inline int
mm_support(void)
{
/* Returns 1 if MMX instructions are supported,
......@@ -251,7 +251,7 @@ mm_support(void)
/* Function to test if mmx instructions are supported...
*/
inline extern int
static inline int
mmx_ok(void)
{
/* Returns 1 if MMX instructions are supported, 0 otherwise */
......
......@@ -61,7 +61,7 @@
#define SEFUNC(x) Search_Effort_C_##x(src_pitch, dst_pitch, rowsize, pWeaveSrc, pWeaveSrcP, pWeaveDest, IsOdd, pCopySrc, pCopySrcP, FldHeight)
#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);
long SearchEffort = self->search_effort;
......
......@@ -22,7 +22,7 @@
#include "goom_visual_fx.h"
#include "goom_plugin_info.h"
VisualFX convolve_create ();
VisualFX convolve_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]);
......
......@@ -64,7 +64,7 @@ static int firstTime = 1;
static int sintable[0xffff];
ZoomFilterData *
zoomFilterNew ()
zoomFilterNew (void)
{
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)
(valeur * 16)
*/
void
static void
calculatePXandPY (GoomData * gd, int x, int y, int *px, int *py)
{
ZoomFilterData *zf = gd->zfd;
......
......@@ -55,7 +55,7 @@ Uint middleX,
Uint middleY);
*/
ZoomFilterData *zoomFilterNew ();
ZoomFilterData *zoomFilterNew (void);
void zoomFilterDestroy (ZoomFilterData *zf);
void zoomFilterFastRGB (GoomData *goomdata, ZoomFilterData *zf,
int zfd_update);
......
......@@ -25,6 +25,8 @@
#include <glib.h>
#include "mulaw-conversion.h"
#undef ZEROTRAP /* turn on the trap as per the MIL-STD */
#define BIAS 0x84 /* define the add-in bias for 16 bit samples */
#define CLIP 32635
......
......@@ -175,6 +175,7 @@ static GstCaps
/* stream methods */
static void gst_matroska_demux_reset (GstElement * element);
GType gst_matroska_demux_get_type (void);
GST_BOILERPLATE (GstMatroskaDemux, gst_matroska_demux, GstEbmlRead,
GST_TYPE_EBML_READ);
......
......@@ -199,6 +199,7 @@ G_LOCK_DEFINE_STATIC (used_uids);
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_TYPE_ELEMENT, gst_matroska_mux_add_interfaces);
......@@ -2343,7 +2344,7 @@ gst_matroska_mux_best_pad (GstMatroskaMux * mux, gboolean * popped)
*
* Returns: New buffer.
*/
GstBuffer *
static GstBuffer *
gst_matroska_mux_create_buffer_header (GstMatroskaTrackContext * track,
gint16 relative_timestamp, int flags)
{
......
......@@ -23,8 +23,8 @@
#include <gst/gst.h>
extern gboolean gst_multipart_demux_plugin_init (GstPlugin * plugin);
extern gboolean gst_multipart_mux_plugin_init (GstPlugin * plugin);
#include "multipartdemux.h"
#include "multipartmux.h"
static gboolean
plugin_init (GstPlugin * plugin)
......
......@@ -200,7 +200,7 @@ gst_multipart_demux_init (GstMultipartDemux * multipart,
multipart->autoscan = DEFAULT_AUTOSCAN;
}
void
static void
gst_multipart_pad_free (GstMultipartPad * mppad)
{
g_free (mppad->mime);
......
......@@ -93,6 +93,10 @@ struct _GstMultipartDemuxClass
GHashTable *gstnames;
};
GType gst_multipart_demux_get_type (void);
gboolean gst_multipart_demux_plugin_init (GstPlugin * plugin);
G_END_DECLS
#endif /* __GST_MULTIPART_DEMUX__ */
......
......@@ -231,11 +231,11 @@ gst_multipart_mux_request_new_pad (GstElement * element,
/* construct our own wrapper data structure for the pad to
* keep track of its status */
{
GstMultipartPad *multipartpad;
GstMultipartPadData *multipartpad;
multipartpad = (GstMultipartPad *)
multipartpad = (GstMultipartPadData *)
gst_collect_pads_add_pad (multipart_mux->collect, newpad,
sizeof (GstMultipartPad));
sizeof (GstMultipartPadData));
/* save a pointer to our data in the pad */
gst_pad_set_element_private (newpad, multipartpad);
......@@ -338,7 +338,7 @@ gst_multipart_mux_get_mime (GstMultipartMux * mux, GstStructure * s)
*/
static gint
gst_multipart_mux_compare_pads (GstMultipartMux * multipart_mux,
GstMultipartPad * old, GstMultipartPad * new)
GstMultipartPadData * old, GstMultipartPadData * new)
{
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
* that holds the best buffer or NULL when no pad was usable */
static GstMultipartPad *
static GstMultipartPadData *
gst_multipart_mux_queue_pads (GstMultipartMux * mux)
{
GSList *walk = NULL;
GstMultipartPad *bestpad = NULL;
GstMultipartPadData *bestpad = 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;
while (walk) {
GstCollectData *data = (GstCollectData *) walk->data;
GstMultipartPad *pad = (GstMultipartPad *) data;
GstMultipartPadData *pad = (GstMultipartPadData *) data;
walk = g_slist_next (walk);
......@@ -428,7 +428,7 @@ gst_multipart_mux_queue_pads (GstMultipartMux * mux)
static GstFlowReturn
gst_multipart_mux_collected (GstCollectPads * pads, GstMultipartMux * mux)
{
GstMultipartPad *best;
GstMultipartPadData *best;
GstFlowReturn ret = GST_FLOW_OK;
gchar *header = NULL;
size_t headerlen;
......
......@@ -48,7 +48,7 @@ typedef struct
GstClockTime timestamp; /* its timestamp, converted to running_time so that we can
correctly sort over multiple segments. */
}
GstMultipartPad;
GstMultipartPadData;
/**
* GstMultipartMux:
......@@ -84,6 +84,10 @@ struct _GstMultipartMuxClass
GHashTable *mimetypes;
};
GType gst_multipart_mux_get_type (void);
gboolean gst_multipart_mux_plugin_init (GstPlugin * plugin);
G_END_DECLS
#endif /* __GST_MULTIPART_MUX__ */
......
......@@ -695,10 +695,3 @@ gst_rtp_xqt_depay_change_state (GstElement * element, GstStateChange transition)
}
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);
}
......@@ -23,6 +23,8 @@
#include <glib.h>
#include "fnv1hash.h"
/* This file implements FNV-1 hashing used in the Ogg payload encoders
* to generate the 24-bit ident value based on the header pages.
* See http://isthe.com/chongo/tech/comp/fnv/
......
......@@ -26,7 +26,7 @@
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_to_24 (guint32 hash);
......
......@@ -56,6 +56,8 @@ struct _GstAsteriskh263Class
GstElementClass parent_class;
};
GType gst_asteriskh263_get_type (void);
gboolean gst_asteriskh263_plugin_init (GstPlugin * plugin);
G_END_DECLS
......
......@@ -55,6 +55,8 @@ struct _GstRtpL16DepayClass
GstBaseRTPDepayloadClass parent_class;
};
GType gst_rtp_L16_depay_get_type (void);
gboolean gst_rtp_L16_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS
......
......@@ -52,6 +52,8 @@ struct _GstRtpL16PayClass
GstBaseRTPAudioPayloadClass parent_class;
};
GType gst_rtp_L16_pay_get_type (void);
gboolean gst_rtp_L16_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS
......
......@@ -49,6 +49,8 @@ struct _GstRtpAC3DepayClass
GstBaseRTPDepayloadClass parent_class;
};
GType gst_rtp_ac3_depay_get_type (void);
gboolean gst_rtp_ac3_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS
......
......@@ -68,6 +68,8 @@ struct _GstRtpAMRDepayClass
GstBaseRTPDepayloadClass parent_class;
};
GType gst_rtp_amr_depay_get_type (void);
gboolean gst_rtp_amr_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS
......
......@@ -58,6 +58,8 @@ struct _GstRtpAMRPayClass
GstBaseRTPPayloadClass parent_class;
};
GType gst_rtp_amr_pay_get_type (void);
gboolean gst_rtp_amr_pay_plugin_init (GstPlugin * plugin);
G_END_DECLS
......
......@@ -51,6 +51,8 @@ struct _GstRTPBVDepayClass
GstBaseRTPDepayloadClass parent_class;
};
GType gst_rtp_bv_depay_get_type (void);
gboolean gst_rtp_bv_depay_plugin_init (GstPlugin * plugin);
G_END_DECLS
......
......@@ -28,7 +28,7 @@
#include "gstrtpbvpay.h"
/* elementfactory information */
static GstElementDetails gst_rtpbvpay_details = {
static GstElementDetails gst_rtp_bv_pay_details = {
"RTP BV Payloader",
"Codec/Payloader/Network",
"Packetize BroadcomVoice audio streams into RTP packets (RFC 4298)",
......@@ -38,14 +38,14 @@ static GstElementDetails gst_rtpbvpay_details = {
GST_DEBUG_CATEGORY_STATIC (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_PAD_SINK,
GST_PAD_ALWAYS,
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_PAD_SRC,
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);
static gboolean gst_rtpbvpay_sink_setcaps (GstBaseRTPPayload * payload,
static gboolean gst_rtp_bv_pay_sink_setcaps (GstBaseRTPPayload * payload,
GstCaps * caps);
GST_BOILERPLATE (GstRTPBVPay, gst_rtpbvpay, GstBaseRTPAudioPayload,
GST_BOILERPLATE (GstRTPBVPay, gst_rtp_bv_pay, GstBaseRTPAudioPayload,
GST_TYPE_BASE_RTP_AUDIO_PAYLOAD);
static void
gst_rtpbvpay_base_init (gpointer klass)
gst_rtp_bv_pay_base_init (gpointer klass)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
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_static_pad_template_get (&gst_rtpbvpay_src_template));
gst_element_class_set_details (element_class, &gst_rtpbvpay_details);
gst_static_pad_template_get (&gst_rtp_bv_pay_src_template));
gst_element_class_set_details (element_class, &gst_rtp_bv_pay_details);
}
static void
gst_rtpbvpay_class_init (GstRTPBVPayClass * klass)
gst_rtp_bv_pay_class_init (GstRTPBVPayClass * klass)
{
GstBaseRTPPayloadClass *gstbasertppayload_class;
gstbasertppayload_class = (GstBaseRTPPayloadClass *) klass;
gstbasertppayload_class->set_caps = gst_rtpbvpay_sink_setcaps;
gstbasertppayload_class->get_caps = gst_rtpbvpay_sink_getcaps;
gstbasertppayload_class->set_caps = gst_rtp_bv_pay_sink_setcaps;
gstbasertppayload_class->get_caps = gst_rtp_bv_pay_sink_getcaps;
GST_DEBUG_CATEGORY_INIT (rtpbvpay_debug, "rtpbvpay", 0,
"BroadcomVoice audio RTP payloader");
}
static void
gst_rtpbvpay_init (GstRTPBVPay * rtpbvpay, GstRTPBVPayClass * klass)
gst_rtp_bv_pay_init (GstRTPBVPay * rtpbvpay, GstRTPBVPayClass * klass)
{
GstBaseRTPPayload *basertppayload;
GstBaseRTPAudioPayload *basertpaudiopayload;
......@@ -111,7 +111,7 @@ gst_rtpbvpay_init (GstRTPBVPay * rtpbvpay, GstRTPBVPayClass * klass)
}
static gboolean
gst_rtpbvpay_sink_setcaps (GstBaseRTPPayload * basertppayload, GstCaps * caps)
gst_rtp_bv_pay_sink_setcaps (GstBaseRTPPayload * basertppayload, GstCaps * caps)
{
GstRTPBVPay *rtpbvpay;
GstBaseRTPAudioPayload *basertpaudiopayload;
......@@ -183,7 +183,7 @@ mode_changed:
/* we return the padtemplate caps with the mode field fixated to a value if we
* can */
static GstCaps *
gst_rtpbvpay_sink_getcaps (GstBaseRTPPayload * rtppayload, GstPad * pad)
gst_rtp_bv_pay_sink_getcaps (GstBaseRTPPayload * rtppayload, GstPad * pad)
{
GstCaps *otherpadcaps;
GstCaps *caps;
......
......@@ -26,7 +26,7 @@
G_BEGIN_DECLS
#define GST_TYPE_RTP_BV_PAY \
(gst_rtpbvpay_get_type())
(gst_rtp_bv_pay_get_type())
#define GST_RTP_BV_PAY(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RTP_BV_PAY,GstRTPBVPay))
#define GST_RTP_BV_PAY_CLASS(klass) \
......@@ -51,6 +51,8 @@ struct _GstRTPBVPayClass
GstBaseRTPAudioPayloadClass parent_class;
};
GType gst_rtp_bv_pay_get_type (void);
gboolean gst_rtp_bv_pay_plugin_init (GstPlugin * plugin);