From: Olivier CrĂȘte Date: Mon, 31 Jan 2011 22:56:18 +0000 (-0500) Subject: rtppcmapay: Rename the class to have the right name X-Git-Tag: 1.19.3~509^2~7916^2~88 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=07ebec51f50a1f3269654791bcfb3f5b6854b7fd;p=platform%2Fupstream%2Fgstreamer.git rtppcmapay: Rename the class to have the right name It was name pmca instead of pcma and made debug logs hard to search. --- diff --git a/gst/rtp/gstrtppcmapay.c b/gst/rtp/gstrtppcmapay.c index 97b31a9..d897ce1 100644 --- a/gst/rtp/gstrtppcmapay.c +++ b/gst/rtp/gstrtppcmapay.c @@ -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; diff --git a/gst/rtp/gstrtppcmapay.h b/gst/rtp/gstrtppcmapay.h index 7a39d7d..a51e975 100644 --- a/gst/rtp/gstrtppcmapay.h +++ b/gst/rtp/gstrtppcmapay.h @@ -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; };