rtppcmapay: Rename the class to have the right name

It was name pmca instead of pcma and made debug logs hard to search.
This commit is contained in:
Olivier Crête 2011-01-31 17:56:18 -05:00
parent 1e2c1467ae
commit 07ebec51f5
2 changed files with 9 additions and 9 deletions

View file

@ -53,7 +53,7 @@ static GstStaticPadTemplate gst_rtp_pcma_pay_src_template =
static gboolean gst_rtp_pcma_pay_setcaps (GstBaseRTPPayload * payload,
GstCaps * caps);
GST_BOILERPLATE (GstRtpPmcaPay, gst_rtp_pcma_pay, GstBaseRTPAudioPayload,
GST_BOILERPLATE (GstRtpPcmaPay, gst_rtp_pcma_pay, GstBaseRTPAudioPayload,
GST_TYPE_BASE_RTP_AUDIO_PAYLOAD);
static void
@ -72,7 +72,7 @@ gst_rtp_pcma_pay_base_init (gpointer klass)
}
static void
gst_rtp_pcma_pay_class_init (GstRtpPmcaPayClass * klass)
gst_rtp_pcma_pay_class_init (GstRtpPcmaPayClass * klass)
{
GstBaseRTPPayloadClass *gstbasertppayload_class;
@ -82,7 +82,7 @@ gst_rtp_pcma_pay_class_init (GstRtpPmcaPayClass * klass)
}
static void
gst_rtp_pcma_pay_init (GstRtpPmcaPay * rtppcmapay, GstRtpPmcaPayClass * klass)
gst_rtp_pcma_pay_init (GstRtpPcmaPay * rtppcmapay, GstRtpPcmaPayClass * klass)
{
GstBaseRTPAudioPayload *basertpaudiopayload;

View file

@ -21,26 +21,26 @@
G_BEGIN_DECLS
typedef struct _GstRtpPmcaPay GstRtpPmcaPay;
typedef struct _GstRtpPmcaPayClass GstRtpPmcaPayClass;
typedef struct _GstRtpPcmaPay GstRtpPcmaPay;
typedef struct _GstRtpPcmaPayClass GstRtpPcmaPayClass;
#define GST_TYPE_RTP_PCMA_PAY \
(gst_rtp_pcma_pay_get_type())
#define GST_RTP_PCMA_PAY(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RTP_PCMA_PAY,GstRtpPmcaPay))
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RTP_PCMA_PAY,GstRtpPcmaPay))
#define GST_RTP_PCMA_PAY_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_RTP_PCMA_PAY,GstRtpPmcaPayClass))
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_RTP_PCMA_PAY,GstRtpPcmaPayClass))
#define GST_IS_RTP_PCMA_PAY(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_RTP_PCMA_PAY))
#define GST_IS_RTP_PCMA_PAY_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_RTP_PCMA_PAY))
struct _GstRtpPmcaPay
struct _GstRtpPcmaPay
{
GstBaseRTPAudioPayload audiopayload;
};
struct _GstRtpPmcaPayClass
struct _GstRtpPcmaPayClass
{
GstBaseRTPAudioPayloadClass parent_class;
};