Caps.this

Creates a new gstreamer.Caps and adds all the structures listed as arguments. The list must be NULL-terminated. The structures are not copied; the returned gstreamer.Caps owns the structures.

  1. this(GstCaps* gstCaps, bool ownedRef)
  2. this()
  3. this(string mediaType)
  4. this(Structure structure, void* varArgs)
    class Caps

Parameters

structure Structure

the first structure to add

varArgs void*

additional structures to add

Return Value

Throws

ConstructionException GTK+ fails to create the object.