Gst.Message.new_toc

function new_toc(src:Gst.Object, toc:Gst.Toc, updated:Boolean):Gst.Message {
    // Gjs wrapper for gst_message_new_toc()
}

Create a new TOC message. The message is posted by elements that discovered or updated a TOC.

src

the object originating the message.

toc

Gst.Toc structure for the message.

updated

whether TOC was updated or not.

Returns

a new TOC message. MT safe.