| GStreamer Base Plugins 0.10 Plugins Reference Manual | ||||
|---|---|---|---|---|
This element payloads GStreamer buffers and events using the GStreamer Data Protocol.
gst-launch -v -m videotestsrc num-buffers=50 ! gdppay ! filesink location=test.gdp
This pipeline creates a serialized video stream that can be played back with the example shown in gdpdepay.
| plugin | gdp |
| author | Thomas Vander Stichele <thomas at apestaart dot org> |
| class | GDP/Payloader |
typedef struct {
GstElement element;
GstPad *sinkpad;
GstPad *srcpad;
GstCaps *caps; /* incoming caps */
GstBuffer *caps_buf;
GstBuffer *new_segment_buf;
GstBuffer *tag_buf;
gboolean sent_streamheader; /* TRUE after the first streamheaders are sent */
GList *queue; /* list of queued buffers before streamheaders are sent */
guint64 offset;
gboolean crc_header;
gboolean crc_payload;
GstDPHeaderFlag header_flag;
GstDPVersion version;
GstDPPacketizer *packetizer;
} GstGDPPay;