Event.newToc

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.

class Event
static
newToc

Parameters

toc gst.toc.Toc

#GstToc structure.

updated bool

whether toc was updated or not.

Return Value

Type: gst.event.Event

a new #GstEvent.