Event.newToc

gst.event.Event newToc(gst.toc.Toc toc, bool updated)

Generate a TOC event from the given toc. The purpose of the TOC event is to inform elements that some kind of the TOC was found.

Parameters

toc#GstToc structure.
updatedwhether toc was updated or not.

Returns

a new #GstEvent.