Gst.TocSetter.prototype.set_toc

function set_toc(toc:Gst.Toc):void {
    // Gjs wrapper for gst_toc_setter_set_toc()
}

Set the given TOC on the setter. Previously setted TOC will be unrefed before setting a new one.

toc

a Gst.Toc to set.