## gdppay gdppay — Payloads GStreamer Data Protocol buffers |

## Synopsis

                        GstGDPPay;

## Properties

      "crc-header"               gboolean              : Read / Write
      "crc-payload"              gboolean              : Read / Write
      "version"                  GstDPVersion          : Read / Write

## Description

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.

### Element Information

plugin | gdp
author | Thomas Vander Stichele <thomas at apestaart dot org>
class | GDP/Payloader

### Element Pads

name | sink
direction | sink
presence | always
details | ANY

name | src
direction | source
presence | always
details | application/x-gdp

## Details

### GstGDPPay

    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;

## Property Details

### The "`crc-header`" property

      "crc-header"               gboolean              : Read / Write

Calculate and store a CRC checksum on the header.

Default value: TRUE

### The "`crc-payload`" property

      "crc-payload"              gboolean              : Read / Write

Calculate and store a CRC checksum on the payload.

Default value: FALSE

### The "`version`" property

      "version"                  GstDPVersion          : Read / Write

Version of the GStreamer Data Protocol.

Default value: GDP Version 1.0

## See Also

gdpdepay