Gst.Caps.new_empty_simple

function new_empty_simple(media_type:String):Gst.Caps {
    // Gjs wrapper for gst_caps_new_empty_simple()
}

Creates a new Gst.Caps that contains one Gst.Structure with name media_type. Caller is responsible for unreffing the returned caps.

media_type

the media type of the structure

Returns

the new Gst.Caps