|  |  |  | GStreamer Good Plugins 0.10 Plugins Reference Manual |  | 
|---|---|---|---|---|
                    GstCmmlDec;
Cmmldec extracts a CMML document from a CMML bitstream.CMML is an XML markup language for time-continuous data maintained by the Annodex Foundation.
gst-launch -v filesrc location=annotated.ogg ! oggdemux ! cmmldec ! filesink location=annotations.cmml
| plugin | annodex | 
| author | Alessandro Decina <alessandro@nnva.org> | 
| class | Codec/Decoder | 
typedef struct {
  GstElement element;
  /* element part */
  GstPad *sinkpad;
  GstPad *srcpad;
  /* bitstream part */
  gint16 major;                 /* bitstream version major */
  gint16 minor;                 /* bitstream version minor */
  gint64 granulerate_n;         /* bitrstream granulerate numerator */
  gint64 granulerate_d;         /* bitstream granulerate denominator */
  gint8 granuleshift;           /* bitstreamgranuleshift */
  gint64 granulepos;            /* bitstream granule position */
  GstClockTime timestamp;       /* timestamp of the last buffer */
  /* decoder part */
  GstCmmlParser *parser;        /* cmml parser */
  gboolean sent_root;
  GstFlowReturn flow_return;   /* _chain return value */
  gboolean wait_clip_end;        /* when TRUE, the GST_TAG_MESSAGE for a
                                 * clip is sent when the next clip (or EOS)
                                 * is found, so that the clip end-time is
                                 * known. This is useful for pre-extracting
                                 * the clips.
                                 */
  GHashTable *tracks;
} GstCmmlDec;