GstTypeFindHelperGetRangeFunction

This function will be called by TypeFind.helperGetRange when typefinding functions request to peek at the data of a stream at certain offsets. If this function returns GST_FLOW_OK, the result buffer will be stored in buffer. The contents of buffer is invalid for any other return value.

This function is supposed to behave exactly like a GstPadGetRangeFunction

alias GstTypeFindHelperGetRangeFunction = GstFlowReturn function(GstObject* obj, GstObject* parent, ulong offset, uint length, GstBuffer** buffer)

Return Value

GST_FLOW_OK for success