TypeFindHelperGetRangeFunction
Description:
[ CCode ( cname = "GstTypeFindHelperGetRangeFunction" , has_target = false ) ]
public delegate FlowReturn TypeFindHelperGetRangeFunction (Object obj, Object? parent, uint64 offset, uint length, out Buffer buffer)
public delegate FlowReturn TypeFindHelperGetRangeFunction (Object obj, Object? parent, uint64 offset, uint length, out Buffer buffer)
This function will be called by type_find_helper_get_range 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 PadGetRangeFunction .
Parameters:
obj |
a Object that will handle the getrange request |
parent |
the parent of |
offset |
the offset of the range |
length |
the length of the range |
buffer |
a memory location to hold the result buffer |
Returns:
GST_FLOW_OK for success |
Namespace: Gst.Base
Package: gstreamer-base-1.0