type_find_helper_for_data_with_caps
Description:
[ CCode ( cname = "gst_type_find_helper_for_data_with_caps" ) ]
[ Version ( since = "1.22" ) ]
public Caps? type_find_helper_for_data_with_caps (Object? obj, uint8[] data, Caps caps, out TypeFindProbability prob)
[ Version ( since = "1.22" ) ]
public Caps? type_find_helper_for_data_with_caps (Object? obj, uint8[] data, Caps caps, out TypeFindProbability prob)
Tries to find if type of media contained in the given data
, matches the caps
specified, assumption being that the
data represents the beginning of the stream or file.
Only the typefinder matching the given caps will be called, if found. The caps with the highest probability will be returned, or null
if the content of the data
could not be identified.
Free-function: gst_caps_unref
Parameters:
obj |
object doing the typefinding, or |
data |
a pointer with data to typefind |
caps |
caps of the media |
prob |
location to store the probability of the found caps, or |
size |
the size of |
Returns:
the Caps corresponding to the data, or |
Namespace: Gst.Base
Package: gstreamer-base-1.0