pbUtilsGetFileExtensionFromCaps

fnstring pbUtilsGetFileExtensionFromCaps(gst.caps.Caps caps)

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

Parameters

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

Returns

a newly-allocated file extension string, or NULL on error. Free

string with [glib.global.gfree] when not needed any longer.