fourCC codec for this codec. pointer to the strh stream header structure. pointer to the strf stream header structure, including any data that is within the range of strf.size, but excluding any additional data withint this chunk but outside strf.size. a #GstBuffer containing the additional data in the strf chunk outside reach of strf.size. Ususally a palette. a #GstBuffer containing the data in the strd stream header chunk. Usually codec initialization data. if given, will be filled with a human-readable codec name. Initialize riff library. Reads a single chunk. FALSE on error, TRUE otherwise caller element (used for debugging). input buffer. offset in the buffer in the caller. Is incremented by the read size by this function. fourcc (returned by this function0 of the chunk. buffer (returned by the function) containing the chunk data, which may be NULL if chunksize == 0 Reads the first few bytes from the provided buffer, checks if this stream is a RIFF stream, and determines document type. This function takes ownership of @buf so it should not be used anymore after calling this function. caller should error out; we already throw an error), or TRUE if it is. FALSE if this is not a RIFF stream (in which case the caller element (used for debugging/error). input buffer from which the file header will be parsed, should be at least 12 bytes long. a fourcc (returned by this function) to indicate the type of document (according to the header). Parses stream metadata from input data. caller element (used for debugging/error). input data to be used for parsing, stripped from header. a pointer to a taglist (returned by this function) containing information about this stream. May be NULL if no supported tags were found. Parses an audio stream´s strf structure plus optionally some extradata from input data. This function takes ownership of @buf. use. should be skipped on error, but it is not fatal. TRUE if parsing succeeded, otherwise FALSE. The stream caller element (used for debugging/error). input data to be used for parsing, stripped from header. a pointer (returned by this function) to a filled-in strf/auds structure. Caller should free it. a pointer (returned by this function) to a buffer containing extradata for this particular stream (e.g. codec initialization data). Parses a interleaved (also known as "complex") stream´s strf structure plus optionally some extradata from input data. This function takes ownership of @buf. TRUE if parsing succeeded, otherwise FALSE. caller element (used for debugging/error). input data to be used for parsing, stripped from header. a pointer (returned by this function) to a filled-in strf/iavs structure. Caller should free it. a pointer (returned by this function) to a buffer containing extradata for this particular stream (e.g. codec initialization data). Parses a video stream´s strf structure plus optionally some extradata from input data. This function takes ownership of @buf. should be skipped on error, but it is not fatal. TRUE if parsing succeeded, otherwise FALSE. The stream caller element (used for debugging/error). input data to be used for parsing, stripped from header. a pointer (returned by this function) to a filled-in strf/vids structure. Caller should free it. a pointer (returned by this function) to a buffer containing extradata for this particular stream (e.g. palette, codec initialization data). Parses a strh structure from input data. Takes ownership of @buf. should be skipped on error, but it is not fatal. TRUE if parsing succeeded, otherwise FALSE. The stream caller element (used for debugging/error). input data to be used for parsing, stripped from header. a pointer (returned by this function) to a filled-in strh structure. Caller should free it. Reads a single chunk of data. Since 0.10.8 'JUNK' chunks are skipped automatically. flow status. caller element (used for debugging). pad to pull data from. offset to pull from, incremented by this function. fourcc of the chunk (returned by this function). buffer (returned by this function).