summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtppcmupay.h
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2006-04-13 09:15:31 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2006-04-13 09:15:31 +0000
commitcafd99311b7928e1cd3f0b005d2e2e59179e8fd4 (patch)
treec56ceb24f1218d7b80a2024064c3273c2089e708 /gst/rtp/gstrtppcmupay.h
parent9e8bbf41f76083b1fdf090217382c96f695d81e4 (diff)
reverting rtp patches to fix freeze break on -base as explained on the list
Original commit message from CVS: reverting rtp patches to fix freeze break on -base as explained on the list
Diffstat (limited to 'gst/rtp/gstrtppcmupay.h')
-rw-r--r--gst/rtp/gstrtppcmupay.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/gst/rtp/gstrtppcmupay.h b/gst/rtp/gstrtppcmupay.h
index 411ad8f6..046071bd 100644
--- a/gst/rtp/gstrtppcmupay.h
+++ b/gst/rtp/gstrtppcmupay.h
@@ -17,7 +17,8 @@
#define __GST_RTP_PCMU_PAY_H__
#include <gst/gst.h>
-#include <gst/rtp/gstbasertpaudiopayload.h>
+#include <gst/rtp/gstbasertppayload.h>
+#include <gst/base/gstadapter.h>
G_BEGIN_DECLS
@@ -29,20 +30,24 @@ typedef struct _GstRtpPcmuPayClass GstRtpPcmuPayClass;
#define GST_RTP_PCMU_PAY(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RTP_PCMU_PAY,GstRtpPcmuPay))
#define GST_RTP_PCMU_PAY_CLASS(klass) \
- (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_RTP_PCMU_PAY,GstRtpPcmuPayClass))
+ (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_RTP_PCMU_PAY,GstRtpPcmuPay))
#define GST_IS_RTP_PCMU_PAY(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_RTP_PCMU_PAY))
-#define GST_IS_RTP_PCMU_PAY_CLASS(klass) \
+#define GST_IS_RTP_PCMU_PAY_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_RTP_PCMU_PAY))
struct _GstRtpPcmuPay
{
- GstBaseRTPAudioPayload audiopayload;
+ GstBaseRTPPayload payload;
+ GstAdapter *adapter;
+
+ GstClockTime first_ts;
+ GstClockTime duration;
};
struct _GstRtpPcmuPayClass
{
- GstBaseRTPAudioPayloadClass parent_class;
+ GstBaseRTPPayloadClass parent_class;
};
gboolean gst_rtp_pcmu_pay_plugin_init (GstPlugin * plugin);