extension, or null if no type could be found. The caller should free the caps returned with gst_caps_unref().
typeFindHelperForExtension
fn
gst.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
obj | object doing the typefinding, or null (used for logging) |
extension | an extension |
Returns
the #GstCaps corresponding to