read_chunk


Description:


public FlowReturn read_chunk (Element element, Pad pad, uint64 offset, uint32 tag, Buffer chunk_data)

Reads a single chunk of data.

'JUNK' chunks are skipped automatically.

Parameters:

element

caller element (used for debugging).

pad

pad to pull data from.

offset

offset to pull from, incremented by this function.

tag

fourcc of the chunk (returned by this function).

chunk_data

buffer (returned by this function).

Returns:

flow status.


Namespace: Gst.Riff