summaryrefslogtreecommitdiff
path: root/gst/rtp/gstrtpgstpay.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-11-01 15:54:58 +0000
committerWim Taymans <wim.taymans@collabora.co.uk>2012-11-01 17:57:52 +0000
commit6502d08e437cc4287fdaabfadc828afeac761f32 (patch)
treeb37e5b9512bef6b0dfbc71149ce649282216e44d /gst/rtp/gstrtpgstpay.h
parente3c77ba709386acf03840252673d4519ff8c257c (diff)
gstpay: rewrite payloader
Use adapter to assemble the payload and make a flush function to turn this payload into (fragmented) packets. Conflicts: gst/rtp/gstrtpgstpay.c gst/rtp/gstrtpgstpay.h
Diffstat (limited to 'gst/rtp/gstrtpgstpay.h')
-rw-r--r--gst/rtp/gstrtpgstpay.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/rtp/gstrtpgstpay.h b/gst/rtp/gstrtpgstpay.h
index bde2982cc..253fb412c 100644
--- a/gst/rtp/gstrtpgstpay.h
+++ b/gst/rtp/gstrtpgstpay.h
@@ -22,6 +22,7 @@
#include <gst/gst.h>
#include <gst/rtp/gstrtpbasepayload.h>
+#include <gst/base/gstadapter.h>
G_BEGIN_DECLS
@@ -43,8 +44,9 @@ struct _GstRtpGSTPay
{
GstRTPBasePayload payload;
- gchar *capsstr;
- guint capslen;
+ GstAdapter *adapter;
+ guint8 flags;
+
guint8 current_CV; /* CV field of incoming caps*/
guint8 next_CV;
};