type_find_helper_for_extension


Description:

[ CCode ( cname = "gst_type_find_helper_for_extension" ) ]
public Caps? type_find_helper_for_extension (Object? obj, string extension)

Tries to find the best Caps 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 Caps corresponding to extension, or null if no type could be found. The caller should free the caps returned with gst_caps_unref.


Namespace: Gst.Base