typeFindHelperForExtension

fngst.caps.Caps typeFindHelperForExtension(gst.object.ObjectWrap obj, string extension)

Tries to find the best #GstCaps associated with extension.

All available typefinders will be checked against the extension in order of rank. The caps of the first typefinder that can handle extension will be returned.

Free-function: gst_caps_unref

Parameters

objobject doing the typefinding, or null (used for logging)
extensionan extension

Returns

the #GstCaps corresponding to

extension, or null if no type could be found. The caller should free the caps returned with gst_caps_unref().