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

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

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 elementSendEvent, and elements will use padSendEvent or padPushEvent.

Types

class MiniObjectClass o => EventClass o

Instances

data EventType

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 -> EventType

eventNewTag :: TagList -> IO Event

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

eventTypeGetFlags :: EventType -> [EventTypeFlags]