pbUtilsGetFileExtensionFromCaps

Returns a possible file extension for the given caps, if known.

string
pbUtilsGetFileExtensionFromCaps

Parameters

caps gst.caps.Caps

the (fixed) #GstCaps for which a file extension is needed

Return Value

Type: string

a newly-allocated file extension string, or NULL on error. Free string with glib.global.gfree when not needed any longer.