Caps.this

Creates a new #GstCaps that contains one #GstStructure with name @media_type. Caller is responsible for unreffing the returned caps.

Parameters

mediaType string

the media type of the structure

Return Value

the new #GstCaps

Throws

ConstructionException GTK+ fails to create the object.

Meta