gstreamer-0.11.1: Binding to the GStreamer open source multimedia framework.

Portabilityportable (depends on GHC)
Stabilityalpha
Maintainergtk2hs-devel\@lists.sourceforge.net

Media.Streaming.GStreamer.Core.Event

Contents

Description

An object describing events that are passed up and down a pipeline.

Synopsis

Detail

An Event is a message that is passed up and down a pipeline.

There are a number of predefined events and functions returning events. To send an event an application will usually use Media.Streaming.GStreamer.Core.Element.elementSendEvent, and elements will use Media.Streaming.GStreamer.Core.Pad.padSendEvent or Media.Streaming.GStreamer.Core.padPushEvent.

Types

data EventType Source

The event types that may occur in a pipeline.

Constructors

EventUnknown

an unknown event

EventFlushStart

start a flush operation

EventFlushStop

stop a flush operation

EventEOS

end of stream

EventNewSegment

a new segment follows in the dataflow

EventTag

a new set of metadata tags has been found

EventBufferSize

notification of buffering requirements

EventQOS

quality of service notification

EventSeek

a request for a new playback position and rate

EventNavigation

notification of user request

EventLatency

notification of latency adjustment

EventCustomUpstream

custom upstream event

EventCustomDownstream

custom downstream event

EventCustomDownstreamOOB

custom downstream out-of-band event

EventCustomBoth

custom bidirectional event

EventCustomBothOOB

custom bidirectional out-of-band event

Event Operations

eventType :: EventClass event => event -> EventTypeSource

eventNewTag :: TagList -> IO EventSource

eventParseTag :: EventClass event => event -> Maybe TagListSource

eventTypeGetFlags :: EventType -> [EventTypeFlags]Source