Index: gst-libs/gst/rtp/gstbasertpaudiopayload.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/gst-libs/gst/rtp/gstbasertpaudiopayload.c,v
retrieving revision 1.13
diff -b -u -1 -p -r1.13 gstbasertpaudiopayload.c
--- gst-libs/gst/rtp/gstbasertpaudiopayload.c	14 Mar 2007 21:11:18 -0000	1.13
+++ gst-libs/gst/rtp/gstbasertpaudiopayload.c	15 Mar 2007 15:59:28 -0000
@@ -83,3 +83,2 @@ struct _GstBaseRTPAudioPayloadPrivate
   guint64 min_ptime;
-  gboolean disposed;
 };
@@ -194,3 +193,2 @@ gst_base_rtp_audio_payload_init (GstBase
   basertpaudiopayload->priv->adapter = gst_adapter_new ();
-  basertpaudiopayload->priv->disposed = FALSE;
 
@@ -208,6 +206,2 @@ gst_base_rtp_audio_payload_dispose (GObj
 
-  if (basertpaudiopayload->priv->disposed)
-    return;
-  basertpaudiopayload->priv->disposed = TRUE;
-
   if (basertpaudiopayload->priv->adapter) {
@@ -216,2 +210,4 @@ gst_base_rtp_audio_payload_dispose (GObj
   }
+  
+  G_OBJECT_CLASS (parent_class)->dispose (object);
 }
@@ -601,3 +597,3 @@ gst_base_rtp_audio_payload_handle_sample
 GstFlowReturn
-gst_base_rtp_audio_payload_push (GstBaseRTPPayload * basepayload,
+gst_base_rtp_audio_payload_push (GstBaseRTPAudioPayload * basepayload,
     const guint8 * data, guint payload_len, GstClockTime timestamp)
@@ -615,3 +611,4 @@ gst_base_rtp_audio_payload_push (GstBase
   /* copy payload */
-  gst_rtp_buffer_set_payload_type (outbuf, basepayload->pt);
+  gst_rtp_buffer_set_payload_type (outbuf, 
+      GST_BASE_RTP_PAYLOAD (basepayload)->pt);
   payload = gst_rtp_buffer_get_payload (outbuf);
@@ -620,3 +617,3 @@ gst_base_rtp_audio_payload_push (GstBase
   GST_BUFFER_TIMESTAMP (outbuf) = timestamp;
-  ret = gst_basertppayload_push (basepayload, outbuf);
+  ret = gst_basertppayload_push (GSt_BASE_RTP_PAYLOAD (basepayload), outbuf);
 
Index: gst-libs/gst/rtp/gstbasertpaudiopayload.h
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/gst-libs/gst/rtp/gstbasertpaudiopayload.h,v
retrieving revision 1.7
diff -b -u -1 -p -r1.7 gstbasertpaudiopayload.h
--- gst-libs/gst/rtp/gstbasertpaudiopayload.h	14 Mar 2007 21:11:18 -0000	1.7
+++ gst-libs/gst/rtp/gstbasertpaudiopayload.h	15 Mar 2007 15:59:28 -0000
@@ -87,3 +87,3 @@ gst_base_rtp_audio_payload_set_sample_op
 GstFlowReturn
-gst_base_rtp_audio_payload_push (GstBaseRTPPayload * basepayload, 
+gst_base_rtp_audio_payload_push (GstBaseRTPAudioPayload * basepayload, 
     const guint8 * data, guint payload_len, GstClockTime timestamp);
