gsttagdemux

gsttagdemux

Types and Values

Includes

#include <gst/tag/gsttagdemux.h>

Description

Functions

Types and Values

struct GstTagDemux

struct GstTagDemux {
  GstElement element;
};

struct GstTagDemuxClass

struct GstTagDemuxClass {
  GstElementClass parent_class;

  /* minimum size required to identify a tag at the start and determine
   * its total size */
  guint                  min_start_size;

  /* minimum size required to identify a tag at the end and determine
   * its total size */
  guint                  min_end_size;

  /* vtable */

  /* identify tag and determine the size required to parse the tag */
  gboolean               (*identify_tag)  (GstTagDemux * demux,
                                           GstBuffer   * buffer,
                                           gboolean      start_tag,
                                           guint       * tag_size);

  /* parse the tag once it is identified and its size is known */
  GstTagDemuxResult      (*parse_tag)     (GstTagDemux * demux,
                                           GstBuffer   * buffer,
                                           gboolean      start_tag,
                                           guint       * tag_size,
                                           GstTagList ** tags);

  /* merge start and end tags (optional) */
  GstTagList *           (*merge_tags)    (GstTagDemux      * demux,
                                           const GstTagList * start_tags,
                                           const GstTagList * end_tags);
};

enum GstTagDemuxResult

Members

GST_TAG_DEMUX_RESULT_BROKEN_TAG

   

GST_TAG_DEMUX_RESULT_AGAIN

   

GST_TAG_DEMUX_RESULT_OK