summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtpmp4vpay.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2005-09-15 13:57:56 +0000
committerWim Taymans <wim.taymans@gmail.com>2005-09-15 13:57:56 +0000
commitfc158bc3c2739eabfb092f7a45f6656ac8c96e25 (patch)
tree199f9ea3d2fddfcbc8315e95d6fe17c2e9936cd5 /gst/rtp/gstrtpmp4vpay.h
parentc7468729e9e05fa3cbcf6ee1fbbd578c516e2200 (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.h14
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);