From fc158bc3c2739eabfb092f7a45f6656ac8c96e25 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 15 Sep 2005 13:57:56 +0000 Subject: Updates to payloader/depayloaders, make payloaders use the base classes. Original commit message from CVS: Updates to payloader/depayloaders, make payloaders use the base classes. Updated README with suggested RTP caps and how to convert to/from SDP. Added config descriptor in mp4v payloader. --- gst/rtp/gstrtpmp4vpay.h | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'gst/rtp/gstrtpmp4vpay.h') diff --git a/gst/rtp/gstrtpmp4vpay.h b/gst/rtp/gstrtpmp4vpay.h index b6949039..2edd0171 100644 --- a/gst/rtp/gstrtpmp4vpay.h +++ b/gst/rtp/gstrtpmp4vpay.h @@ -21,6 +21,7 @@ #define __GST_RTP_MP4V_ENC_H__ #include +#include #include G_BEGIN_DECLS @@ -41,26 +42,19 @@ typedef struct _GstRtpMP4VEncClass GstRtpMP4VEncClass; struct _GstRtpMP4VEnc { - GstElement element; - - GstPad *sinkpad; - GstPad *srcpad; + GstBaseRTPPayload payload; GstAdapter *adapter; GstClockTime first_ts; - guint16 seqnum; gint rate; gint profile; - - guint mtu; - guint pt; - guint ssrc; + GstBuffer *config; }; struct _GstRtpMP4VEncClass { - GstElementClass parent_class; + GstBaseRTPPayloadClass parent_class; }; gboolean gst_rtpmp4venc_plugin_init (GstPlugin * plugin); -- cgit