diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2005-09-15 13:57:56 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2005-09-15 13:57:56 +0000 |
commit | fc158bc3c2739eabfb092f7a45f6656ac8c96e25 (patch) | |
tree | 199f9ea3d2fddfcbc8315e95d6fe17c2e9936cd5 /gst/rtp/gstrtpmp4vpay.h | |
parent | c7468729e9e05fa3cbcf6ee1fbbd578c516e2200 (diff) |
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.
Diffstat (limited to 'gst/rtp/gstrtpmp4vpay.h')
-rw-r--r-- | gst/rtp/gstrtpmp4vpay.h | 14 |
1 files changed, 4 insertions, 10 deletions
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 <gst/gst.h> +#include <gst/rtp/gstbasertppayload.h> #include <gst/base/gstadapter.h> 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); |