| GStreamer Base Plugins 0.10 Plugins Reference Manual | ||||
|---|---|---|---|---|
GstGDPPay;
"crc-header" gboolean : Read / Write "crc-payload" gboolean : Read / Write "version" GstDPVersion : Read / Write
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 |
| name | sink |
| direction | sink |
| presence | always |
| details | ANY |
| name | src |
| direction | source |
| presence | always |
| details | application/x-gdp |
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;
crc-header" property"crc-header" gboolean : Read / Write
Calculate and store a CRC checksum on the header.
Default value: TRUE
crc-payload" property"crc-payload" gboolean : Read / Write
Calculate and store a CRC checksum on the payload.
Default value: FALSE
version" property"version" GstDPVersion : Read / Write
Version of the GStreamer Data Protocol.
Default value: GDP Version 1.0