Function

Gst-1.0Gstmeta_deserializeSince 1.24

  • Recreate a Gst.Meta from serialized data returned by gst_meta_serialize() and add it to buffer.

    Note that the meta must have been previously registered by calling one of gst_*_meta_get_info () functions.

    consumed is set to the number of bytes that can be skipped from data to find the next meta serialization, if any. In case of parsing error that does not allow to determine that size, consumed is set to 0.

    Parameters

    • buffer: Gst.Buffer
    • data: number

      serialization data obtained from gst_meta_serialize()

    • size: number

      size of data

    Returns [Meta, number]

    the metadata owned by buffer, or null.

    1.24