gi-gst-1.0.23: GStreamer bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gst.Enums

Description

 
Synopsis

Enumerations

BufferingMode

data BufferingMode Source #

The different types of buffering methods.

Constructors

BufferingModeStream

a small amount of data is buffered

BufferingModeDownload

the stream is being downloaded

BufferingModeTimeshift

the stream is being downloaded in a ringbuffer

BufferingModeLive

the stream is a live stream

AnotherBufferingMode Int

Catch-all for unknown values

Instances

Instances details
Enum BufferingMode Source # 
Instance details

Defined in GI.Gst.Enums

Eq BufferingMode Source # 
Instance details

Defined in GI.Gst.Enums

Ord BufferingMode Source # 
Instance details

Defined in GI.Gst.Enums

Show BufferingMode Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> BufferingMode -> ShowS

show :: BufferingMode -> String

showList :: [BufferingMode] -> ShowS

BoxedEnum BufferingMode Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject BufferingMode Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes BufferingMode Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes BufferingMode Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes BufferingMode = '[] :: [Type]

BusSyncReply

data BusSyncReply Source #

The result values for a GstBusSyncHandler.

Constructors

BusSyncReplyDrop

drop the message

BusSyncReplyPass

pass the message to the async queue

BusSyncReplyAsync

pass message to async queue, continue if message is handled

AnotherBusSyncReply Int

Catch-all for unknown values

Instances

Instances details
Enum BusSyncReply Source # 
Instance details

Defined in GI.Gst.Enums

Eq BusSyncReply Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: BusSyncReply -> BusSyncReply -> Bool

(/=) :: BusSyncReply -> BusSyncReply -> Bool

Ord BusSyncReply Source # 
Instance details

Defined in GI.Gst.Enums

Show BusSyncReply Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> BusSyncReply -> ShowS

show :: BusSyncReply -> String

showList :: [BusSyncReply] -> ShowS

BoxedEnum BusSyncReply Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject BusSyncReply Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes BusSyncReply Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes BusSyncReply Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes BusSyncReply = '[] :: [Type]

CapsIntersectMode

data CapsIntersectMode Source #

Modes of caps intersection

gSTCAPSINTERSECTZIGZAG tries to preserve overall order of both caps by iterating on the caps' structures as the following matrix shows: > > caps1 > +------------- > | 1 2 4 7 >caps2 | 3 5 8 10 > | 6 9 11 12

Used when there is no explicit precedence of one caps over the other. e.g. tee's sink pad getcaps function, it will probe its src pad peers' for their caps and intersect them with this mode.

gSTCAPSINTERSECTFIRST is useful when an element wants to preserve another element's caps priority order when intersecting with its own caps. Example: If caps1 is [A, B, C] and caps2 is [E, B, D, A], the result would be [A, B], maintaining the first caps priority on the intersection.

Constructors

CapsIntersectModeZigZag

Zig-zags over both caps.

CapsIntersectModeFirst

Keeps the first caps order.

AnotherCapsIntersectMode Int

Catch-all for unknown values

Instances

Instances details
Enum CapsIntersectMode Source # 
Instance details

Defined in GI.Gst.Enums

Eq CapsIntersectMode Source # 
Instance details

Defined in GI.Gst.Enums

Ord CapsIntersectMode Source # 
Instance details

Defined in GI.Gst.Enums

Show CapsIntersectMode Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> CapsIntersectMode -> ShowS

show :: CapsIntersectMode -> String

showList :: [CapsIntersectMode] -> ShowS

BoxedEnum CapsIntersectMode Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject CapsIntersectMode Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes CapsIntersectMode Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes CapsIntersectMode Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes CapsIntersectMode = '[] :: [Type]

ClockEntryType

data ClockEntryType Source #

The type of the clock entry

Constructors

ClockEntryTypeSingle

a single shot timeout

ClockEntryTypePeriodic

a periodic timeout request

AnotherClockEntryType Int

Catch-all for unknown values

Instances

Instances details
Enum ClockEntryType Source # 
Instance details

Defined in GI.Gst.Enums

Eq ClockEntryType Source # 
Instance details

Defined in GI.Gst.Enums

Ord ClockEntryType Source # 
Instance details

Defined in GI.Gst.Enums

Show ClockEntryType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> ClockEntryType -> ShowS

show :: ClockEntryType -> String

showList :: [ClockEntryType] -> ShowS

BoxedEnum ClockEntryType Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject ClockEntryType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes ClockEntryType Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes ClockEntryType Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes ClockEntryType = '[] :: [Type]

ClockReturn

data ClockReturn Source #

The return value of a clock operation.

Constructors

ClockReturnOk

The operation succeeded.

ClockReturnEarly

The operation was scheduled too late.

ClockReturnUnscheduled

The clockID was unscheduled

ClockReturnBusy

The ClockID is busy

ClockReturnBadtime

A bad time was provided to a function.

ClockReturnError

An error occurred

ClockReturnUnsupported

Operation is not supported

ClockReturnDone

The ClockID is done waiting

AnotherClockReturn Int

Catch-all for unknown values

Instances

Instances details
Enum ClockReturn Source # 
Instance details

Defined in GI.Gst.Enums

Eq ClockReturn Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: ClockReturn -> ClockReturn -> Bool

(/=) :: ClockReturn -> ClockReturn -> Bool

Ord ClockReturn Source # 
Instance details

Defined in GI.Gst.Enums

Show ClockReturn Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> ClockReturn -> ShowS

show :: ClockReturn -> String

showList :: [ClockReturn] -> ShowS

BoxedEnum ClockReturn Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject ClockReturn Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes ClockReturn Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes ClockReturn Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes ClockReturn = '[] :: [Type]

ClockType

data ClockType Source #

The different kind of clocks.

Constructors

ClockTypeRealtime

time since Epoch

ClockTypeMonotonic

monotonic time since some unspecified starting point

ClockTypeOther

some other time source is used (Since: 1.0.5)

AnotherClockType Int

Catch-all for unknown values

Instances

Instances details
Enum ClockType Source # 
Instance details

Defined in GI.Gst.Enums

Eq ClockType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: ClockType -> ClockType -> Bool

(/=) :: ClockType -> ClockType -> Bool

Ord ClockType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

compare :: ClockType -> ClockType -> Ordering

(<) :: ClockType -> ClockType -> Bool

(<=) :: ClockType -> ClockType -> Bool

(>) :: ClockType -> ClockType -> Bool

(>=) :: ClockType -> ClockType -> Bool

max :: ClockType -> ClockType -> ClockType

min :: ClockType -> ClockType -> ClockType

Show ClockType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> ClockType -> ShowS

show :: ClockType -> String

showList :: [ClockType] -> ShowS

BoxedEnum ClockType Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject ClockType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes ClockType Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes ClockType Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes ClockType = '[] :: [Type]

CoreError

data CoreError Source #

Core errors are errors inside the core GStreamer library.

Constructors

CoreErrorFailed

a general error which doesn't fit in any other category. Make sure you add a custom message to the error call.

CoreErrorTooLazy

do not use this except as a placeholder for deciding where to go while developing code.

CoreErrorNotImplemented

use this when you do not want to implement this functionality yet.

CoreErrorStateChange

used for state change errors.

CoreErrorPad

used for pad-related errors.

CoreErrorThread

used for thread-related errors.

CoreErrorNegotiation

used for negotiation-related errors.

CoreErrorEvent

used for event-related errors.

CoreErrorSeek

used for seek-related errors.

CoreErrorCaps

used for caps-related errors.

CoreErrorTag

used for negotiation-related errors.

CoreErrorMissingPlugin

used if a plugin is missing.

CoreErrorClock

used for clock related errors.

CoreErrorDisabled

used if functionality has been disabled at compile time.

CoreErrorNumErrors

the number of core error types.

AnotherCoreError Int

Catch-all for unknown values

Instances

Instances details
Enum CoreError Source # 
Instance details

Defined in GI.Gst.Enums

Eq CoreError Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: CoreError -> CoreError -> Bool

(/=) :: CoreError -> CoreError -> Bool

Ord CoreError Source # 
Instance details

Defined in GI.Gst.Enums

Methods

compare :: CoreError -> CoreError -> Ordering

(<) :: CoreError -> CoreError -> Bool

(<=) :: CoreError -> CoreError -> Bool

(>) :: CoreError -> CoreError -> Bool

(>=) :: CoreError -> CoreError -> Bool

max :: CoreError -> CoreError -> CoreError

min :: CoreError -> CoreError -> CoreError

Show CoreError Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> CoreError -> ShowS

show :: CoreError -> String

showList :: [CoreError] -> ShowS

BoxedEnum CoreError Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject CoreError Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

GErrorClass CoreError Source # 
Instance details

Defined in GI.Gst.Enums

Methods

gerrorClassDomain :: CoreError -> Text

HasParentTypes CoreError Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes CoreError Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes CoreError = '[] :: [Type]

catchCoreError :: IO a -> (CoreError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type CoreError. This is a specialized version of catchGErrorJustDomain.

handleCoreError :: (CoreError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type CoreError. This is a specialized version of handleGErrorJustDomain.

DebugColorMode

data DebugColorMode Source #

No description available in the introspection data.

Constructors

DebugColorModeOff

Do not use colors in logs.

DebugColorModeOn

Paint logs in a platform-specific way.

DebugColorModeUnix

Paint logs with UNIX terminal color codes no matter what platform GStreamer is running on.

AnotherDebugColorMode Int

Catch-all for unknown values

Instances

Instances details
Enum DebugColorMode Source # 
Instance details

Defined in GI.Gst.Enums

Eq DebugColorMode Source # 
Instance details

Defined in GI.Gst.Enums

Ord DebugColorMode Source # 
Instance details

Defined in GI.Gst.Enums

Show DebugColorMode Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> DebugColorMode -> ShowS

show :: DebugColorMode -> String

showList :: [DebugColorMode] -> ShowS

BoxedEnum DebugColorMode Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject DebugColorMode Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes DebugColorMode Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes DebugColorMode Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes DebugColorMode = '[] :: [Type]

DebugLevel

data DebugLevel Source #

The level defines the importance of a debugging message. The more important a message is, the greater the probability that the debugging system outputs it.

Constructors

DebugLevelNone

No debugging level specified or desired. Used to deactivate debugging output.

DebugLevelError

Error messages are to be used only when an error occurred that stops the application from keeping working correctly. An examples is gst_element_error, which outputs a message with this priority. It does not mean that the application is terminating as with g_error.

DebugLevelWarning

Warning messages are to inform about abnormal behaviour that could lead to problems or weird behaviour later on. An example of this would be clocking issues ("your computer is pretty slow") or broken input data ("Can't synchronize to stream.")

DebugLevelFixme

Fixme messages are messages that indicate that something in the executed code path is not fully implemented or handled yet. Note that this does not replace proper error handling in any way, the purpose of this message is to make it easier to spot incomplete/unfinished pieces of code when reading the debug log.

DebugLevelInfo

Informational messages should be used to keep the developer updated about what is happening. Examples where this should be used are when a typefind function has successfully determined the type of the stream or when an mp3 plugin detects the format to be used. ("This file has mono sound.")

DebugLevelDebug

Debugging messages should be used when something common happens that is not the expected default behavior, or something that's useful to know but doesn't happen all the time (ie. per loop iteration or buffer processed or event handled). An example would be notifications about state changes or receiving/sending of events.

DebugLevelLog

Log messages are messages that are very common but might be useful to know. As a rule of thumb a pipeline that is running as expected should never output anything else but LOG messages whilst processing data. Use this log level to log recurring information in chain functions and loop functions, for example.

DebugLevelTrace

Tracing-related messages. Examples for this are referencing/dereferencing of objects.

DebugLevelMemdump

memory dump messages are used to log (small) chunks of data as memory dumps in the log. They will be displayed as hexdump with ASCII characters.

DebugLevelCount

The number of defined debugging levels.

AnotherDebugLevel Int

Catch-all for unknown values

Instances

Instances details
Enum DebugLevel Source # 
Instance details

Defined in GI.Gst.Enums

Eq DebugLevel Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: DebugLevel -> DebugLevel -> Bool

(/=) :: DebugLevel -> DebugLevel -> Bool

Ord DebugLevel Source # 
Instance details

Defined in GI.Gst.Enums

Show DebugLevel Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> DebugLevel -> ShowS

show :: DebugLevel -> String

showList :: [DebugLevel] -> ShowS

BoxedEnum DebugLevel Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject DebugLevel Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes DebugLevel Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes DebugLevel Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes DebugLevel = '[] :: [Type]

EventType

data EventType Source #

EventType lists the standard event types that can be sent in a pipeline.

The custom event types can be used for private messages between elements that can't be expressed using normal GStreamer buffer passing semantics. Custom events carry an arbitrary Structure. Specific custom events are distinguished by the name of the structure.

Constructors

EventTypeUnknown

unknown event.

EventTypeFlushStart

Start a flush operation. This event clears all data from the pipeline and unblock all streaming threads.

EventTypeFlushStop

Stop a flush operation. This event resets the running-time of the pipeline.

EventTypeStreamStart

Event to mark the start of a new stream. Sent before any other serialized event and only sent at the start of a new stream, not after flushing seeks.

EventTypeCaps

Caps event. Notify the pad of a new media type.

EventTypeSegment

A new media segment follows in the dataflow. The segment events contains information for clipping buffers and converting buffer timestamps to running-time and stream-time.

EventTypeStreamCollection

A new StreamCollection is available (Since: 1.10)

EventTypeTag

A new set of metadata tags has been found in the stream.

EventTypeBuffersize

Notification of buffering requirements. Currently not used yet.

EventTypeSinkMessage

An event that sinks turn into a message. Used to send messages that should be emitted in sync with rendering.

EventTypeStreamGroupDone

Indicates that there is no more data for the stream group ID in the message. Sent before EOS in some instances and should be handled mostly the same. (Since: 1.10)

EventTypeEos

End-Of-Stream. No more data is to be expected to follow without either a STREAM_START event, or a FLUSH_STOP and a SEGMENT event.

EventTypeToc

An event which indicates that a new table of contents (TOC) was found or updated.

EventTypeProtection

An event which indicates that new or updated encryption information has been found in the stream.

EventTypeSegmentDone

Marks the end of a segment playback.

EventTypeGap

Marks a gap in the datastream.

EventTypeQos

A quality message. Used to indicate to upstream elements that the downstream elements should adjust their processing rate.

EventTypeSeek

A request for a new playback position and rate.

EventTypeNavigation

Navigation events are usually used for communicating user requests, such as mouse or keyboard movements, to upstream elements.

EventTypeLatency

Notification of new latency adjustment. Sinks will use the latency information to adjust their synchronisation.

EventTypeStep

A request for stepping through the media. Sinks will usually execute the step operation.

EventTypeReconfigure

A request for upstream renegotiating caps and reconfiguring.

EventTypeTocSelect

A request for a new playback position based on TOC entry's UID.

EventTypeSelectStreams

A request to select one or more streams (Since: 1.10)

EventTypeCustomUpstream

Upstream custom event

EventTypeCustomDownstream

Downstream custom event that travels in the data flow.

EventTypeCustomDownstreamOob

Custom out-of-band downstream event.

EventTypeCustomDownstreamSticky

Custom sticky downstream event.

EventTypeCustomBoth

Custom upstream or downstream event. In-band when travelling downstream.

EventTypeCustomBothOob

Custom upstream or downstream out-of-band event.

AnotherEventType Int

Catch-all for unknown values

Instances

Instances details
Enum EventType Source # 
Instance details

Defined in GI.Gst.Enums

Eq EventType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: EventType -> EventType -> Bool

(/=) :: EventType -> EventType -> Bool

Ord EventType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

compare :: EventType -> EventType -> Ordering

(<) :: EventType -> EventType -> Bool

(<=) :: EventType -> EventType -> Bool

(>) :: EventType -> EventType -> Bool

(>=) :: EventType -> EventType -> Bool

max :: EventType -> EventType -> EventType

min :: EventType -> EventType -> EventType

Show EventType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> EventType -> ShowS

show :: EventType -> String

showList :: [EventType] -> ShowS

BoxedEnum EventType Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject EventType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes EventType Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes EventType Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes EventType = '[] :: [Type]

FlowReturn

data FlowReturn Source #

The result of passing data to a pad.

Note that the custom return values should not be exposed outside of the element scope.

Constructors

FlowReturnCustomSuccess2

Pre-defined custom success code.

FlowReturnCustomSuccess1

Pre-defined custom success code (define your custom success code to this to avoid compiler warnings).

FlowReturnCustomSuccess

Elements can use values starting from this (and higher) to define custom success codes.

FlowReturnOk

Data passing was ok.

FlowReturnNotLinked

Pad is not linked.

FlowReturnFlushing

Pad is flushing.

FlowReturnEos

Pad is EOS.

FlowReturnNotNegotiated

Pad is not negotiated.

FlowReturnError

Some (fatal) error occurred. Element generating this error should post an error message with more details.

FlowReturnNotSupported

This operation is not supported.

FlowReturnCustomError

Elements can use values starting from this (and lower) to define custom error codes.

FlowReturnCustomError1

Pre-defined custom error code (define your custom error code to this to avoid compiler warnings).

FlowReturnCustomError2

Pre-defined custom error code.

AnotherFlowReturn Int

Catch-all for unknown values

Instances

Instances details
Enum FlowReturn Source # 
Instance details

Defined in GI.Gst.Enums

Eq FlowReturn Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: FlowReturn -> FlowReturn -> Bool

(/=) :: FlowReturn -> FlowReturn -> Bool

Ord FlowReturn Source # 
Instance details

Defined in GI.Gst.Enums

Show FlowReturn Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> FlowReturn -> ShowS

show :: FlowReturn -> String

showList :: [FlowReturn] -> ShowS

BoxedEnum FlowReturn Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject FlowReturn Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes FlowReturn Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes FlowReturn Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes FlowReturn = '[] :: [Type]

Format

data Format Source #

Standard predefined formats

Constructors

FormatUndefined

undefined format

FormatDefault

the default format of the pad/element. This can be samples for raw audio, frames/fields for raw video (some, but not all, elements support this; use gSTFORMATTIME if you don't have a good reason to query for samples/frames)

FormatBytes

bytes

FormatTime

time in nanoseconds

FormatBuffers

buffers (few, if any, elements implement this as of May 2009)

FormatPercent

percentage of stream (few, if any, elements implement this as of May 2009)

AnotherFormat Int

Catch-all for unknown values

Instances

Instances details
Enum Format Source # 
Instance details

Defined in GI.Gst.Enums

Eq Format Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: Format -> Format -> Bool

(/=) :: Format -> Format -> Bool

Ord Format Source # 
Instance details

Defined in GI.Gst.Enums

Methods

compare :: Format -> Format -> Ordering

(<) :: Format -> Format -> Bool

(<=) :: Format -> Format -> Bool

(>) :: Format -> Format -> Bool

(>=) :: Format -> Format -> Bool

max :: Format -> Format -> Format

min :: Format -> Format -> Format

Show Format Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> Format -> ShowS

show :: Format -> String

showList :: [Format] -> ShowS

BoxedEnum Format Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject Format Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes Format Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes Format Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes Format = '[] :: [Type]

IteratorItem

data IteratorItem Source #

The result of a IteratorItemFunction.

Constructors

IteratorItemSkip

Skip this item

IteratorItemPass

Return item

IteratorItemEnd

Stop after this item.

AnotherIteratorItem Int

Catch-all for unknown values

Instances

Instances details
Enum IteratorItem Source # 
Instance details

Defined in GI.Gst.Enums

Eq IteratorItem Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: IteratorItem -> IteratorItem -> Bool

(/=) :: IteratorItem -> IteratorItem -> Bool

Ord IteratorItem Source # 
Instance details

Defined in GI.Gst.Enums

Show IteratorItem Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> IteratorItem -> ShowS

show :: IteratorItem -> String

showList :: [IteratorItem] -> ShowS

BoxedEnum IteratorItem Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject IteratorItem Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes IteratorItem Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes IteratorItem Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes IteratorItem = '[] :: [Type]

IteratorResult

data IteratorResult Source #

The result of iteratorNext.

Constructors

IteratorResultDone

No more items in the iterator

IteratorResultOk

An item was retrieved

IteratorResultResync

Datastructure changed while iterating

IteratorResultError

An error happened

AnotherIteratorResult Int

Catch-all for unknown values

Instances

Instances details
Enum IteratorResult Source # 
Instance details

Defined in GI.Gst.Enums

Eq IteratorResult Source # 
Instance details

Defined in GI.Gst.Enums

Ord IteratorResult Source # 
Instance details

Defined in GI.Gst.Enums

Show IteratorResult Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> IteratorResult -> ShowS

show :: IteratorResult -> String

showList :: [IteratorResult] -> ShowS

BoxedEnum IteratorResult Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject IteratorResult Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes IteratorResult Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes IteratorResult Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes IteratorResult = '[] :: [Type]

LibraryError

data LibraryError Source #

Library errors are for errors from the library being used by elements (initializing, finalizing, settings, ...)

Constructors

LibraryErrorFailed

a general error which doesn't fit in any other category. Make sure you add a custom message to the error call.

LibraryErrorTooLazy

do not use this except as a placeholder for deciding where to go while developing code.

LibraryErrorInit

used when the library could not be opened.

LibraryErrorShutdown

used when the library could not be closed.

LibraryErrorSettings

used when the library doesn't accept settings.

LibraryErrorEncode

used when the library generated an encoding error.

LibraryErrorNumErrors

the number of library error types.

AnotherLibraryError Int

Catch-all for unknown values

Instances

Instances details
Enum LibraryError Source # 
Instance details

Defined in GI.Gst.Enums

Eq LibraryError Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: LibraryError -> LibraryError -> Bool

(/=) :: LibraryError -> LibraryError -> Bool

Ord LibraryError Source # 
Instance details

Defined in GI.Gst.Enums

Show LibraryError Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> LibraryError -> ShowS

show :: LibraryError -> String

showList :: [LibraryError] -> ShowS

BoxedEnum LibraryError Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject LibraryError Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

GErrorClass LibraryError Source # 
Instance details

Defined in GI.Gst.Enums

HasParentTypes LibraryError Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes LibraryError Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes LibraryError = '[] :: [Type]

catchLibraryError :: IO a -> (LibraryError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type LibraryError. This is a specialized version of catchGErrorJustDomain.

handleLibraryError :: (LibraryError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type LibraryError. This is a specialized version of handleGErrorJustDomain.

PadDirection

data PadDirection Source #

The direction of a pad.

Constructors

PadDirectionUnknown

direction is unknown.

PadDirectionSrc

the pad is a source pad.

PadDirectionSink

the pad is a sink pad.

AnotherPadDirection Int

Catch-all for unknown values

Instances

Instances details
Enum PadDirection Source # 
Instance details

Defined in GI.Gst.Enums

Eq PadDirection Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: PadDirection -> PadDirection -> Bool

(/=) :: PadDirection -> PadDirection -> Bool

Ord PadDirection Source # 
Instance details

Defined in GI.Gst.Enums

Show PadDirection Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> PadDirection -> ShowS

show :: PadDirection -> String

showList :: [PadDirection] -> ShowS

BoxedEnum PadDirection Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject PadDirection Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes PadDirection Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes PadDirection Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes PadDirection = '[] :: [Type]

PadLinkReturn

data PadLinkReturn Source #

Result values from gst_pad_link and friends.

Constructors

PadLinkReturnOk

link succeeded

PadLinkReturnWrongHierarchy

pads have no common grandparent

PadLinkReturnWasLinked

pad was already linked

PadLinkReturnWrongDirection

pads have wrong direction

PadLinkReturnNoformat

pads do not have common format

PadLinkReturnNosched

pads cannot cooperate in scheduling

PadLinkReturnRefused

refused for some reason

AnotherPadLinkReturn Int

Catch-all for unknown values

Instances

Instances details
Enum PadLinkReturn Source # 
Instance details

Defined in GI.Gst.Enums

Eq PadLinkReturn Source # 
Instance details

Defined in GI.Gst.Enums

Ord PadLinkReturn Source # 
Instance details

Defined in GI.Gst.Enums

Show PadLinkReturn Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> PadLinkReturn -> ShowS

show :: PadLinkReturn -> String

showList :: [PadLinkReturn] -> ShowS

BoxedEnum PadLinkReturn Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject PadLinkReturn Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes PadLinkReturn Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes PadLinkReturn Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes PadLinkReturn = '[] :: [Type]

PadMode

data PadMode Source #

The status of a GstPad. After activating a pad, which usually happens when the parent element goes from READY to PAUSED, the GstPadMode defines if the pad operates in push or pull mode.

Constructors

PadModeNone

Pad will not handle dataflow

PadModePush

Pad handles dataflow in downstream push mode

PadModePull

Pad handles dataflow in upstream pull mode

AnotherPadMode Int

Catch-all for unknown values

Instances

Instances details
Enum PadMode Source # 
Instance details

Defined in GI.Gst.Enums

Eq PadMode Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: PadMode -> PadMode -> Bool

(/=) :: PadMode -> PadMode -> Bool

Ord PadMode Source # 
Instance details

Defined in GI.Gst.Enums

Methods

compare :: PadMode -> PadMode -> Ordering

(<) :: PadMode -> PadMode -> Bool

(<=) :: PadMode -> PadMode -> Bool

(>) :: PadMode -> PadMode -> Bool

(>=) :: PadMode -> PadMode -> Bool

max :: PadMode -> PadMode -> PadMode

min :: PadMode -> PadMode -> PadMode

Show PadMode Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> PadMode -> ShowS

show :: PadMode -> String

showList :: [PadMode] -> ShowS

BoxedEnum PadMode Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject PadMode Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes PadMode Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes PadMode Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes PadMode = '[] :: [Type]

PadPresence

data PadPresence Source #

Indicates when this pad will become available.

Constructors

PadPresenceAlways

the pad is always available

PadPresenceSometimes

the pad will become available depending on the media stream

PadPresenceRequest

the pad is only available on request with elementRequestPad.

AnotherPadPresence Int

Catch-all for unknown values

Instances

Instances details
Enum PadPresence Source # 
Instance details

Defined in GI.Gst.Enums

Eq PadPresence Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: PadPresence -> PadPresence -> Bool

(/=) :: PadPresence -> PadPresence -> Bool

Ord PadPresence Source # 
Instance details

Defined in GI.Gst.Enums

Show PadPresence Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> PadPresence -> ShowS

show :: PadPresence -> String

showList :: [PadPresence] -> ShowS

BoxedEnum PadPresence Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject PadPresence Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes PadPresence Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes PadPresence Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes PadPresence = '[] :: [Type]

PadProbeReturn

data PadProbeReturn Source #

Different return values for the PadProbeCallback.

Constructors

PadProbeReturnDrop

drop data in data probes. For push mode this means that the data item is not sent downstream. For pull mode, it means that the data item is not passed upstream. In both cases, no other probes are called for this item and FlowReturnOk or True is returned to the caller.

PadProbeReturnOk

normal probe return value. This leaves the probe in place, and defers decisions about dropping or passing data to other probes, if any. If there are no other probes, the default behaviour for the probe type applies ('block' for blocking probes, and 'pass' for non-blocking probes).

PadProbeReturnRemove

remove this probe.

PadProbeReturnPass

pass the data item in the block probe and block on the next item.

PadProbeReturnHandled

Data has been handled in the probe and will not be forwarded further. For events and buffers this is the same behaviour as PadProbeReturnDrop (except that in this case you need to unref the buffer or event yourself). For queries it will also return True to the caller. The probe can also modify the FlowReturn value by using the GST_PAD_PROBE_INFO_FLOW_RETURN() accessor. Note that the resulting query must contain valid entries. Since: 1.6

AnotherPadProbeReturn Int

Catch-all for unknown values

Instances

Instances details
Enum PadProbeReturn Source # 
Instance details

Defined in GI.Gst.Enums

Eq PadProbeReturn Source # 
Instance details

Defined in GI.Gst.Enums

Ord PadProbeReturn Source # 
Instance details

Defined in GI.Gst.Enums

Show PadProbeReturn Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> PadProbeReturn -> ShowS

show :: PadProbeReturn -> String

showList :: [PadProbeReturn] -> ShowS

BoxedEnum PadProbeReturn Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject PadProbeReturn Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes PadProbeReturn Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes PadProbeReturn Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes PadProbeReturn = '[] :: [Type]

ParseError

data ParseError Source #

The different parsing errors that can occur.

Constructors

ParseErrorSyntax

A syntax error occurred.

ParseErrorNoSuchElement

The description contained an unknown element

ParseErrorNoSuchProperty

An element did not have a specified property

ParseErrorLink

There was an error linking two pads.

ParseErrorCouldNotSetProperty

There was an error setting a property

ParseErrorEmptyBin

An empty bin was specified.

ParseErrorEmpty

An empty description was specified

ParseErrorDelayedLink

A delayed link did not get resolved.

AnotherParseError Int

Catch-all for unknown values

Instances

Instances details
Enum ParseError Source # 
Instance details

Defined in GI.Gst.Enums

Eq ParseError Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: ParseError -> ParseError -> Bool

(/=) :: ParseError -> ParseError -> Bool

Ord ParseError Source # 
Instance details

Defined in GI.Gst.Enums

Show ParseError Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> ParseError -> ShowS

show :: ParseError -> String

showList :: [ParseError] -> ShowS

BoxedEnum ParseError Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject ParseError Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

GErrorClass ParseError Source # 
Instance details

Defined in GI.Gst.Enums

Methods

gerrorClassDomain :: ParseError -> Text

HasParentTypes ParseError Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes ParseError Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes ParseError = '[] :: [Type]

catchParseError :: IO a -> (ParseError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type ParseError. This is a specialized version of catchGErrorJustDomain.

handleParseError :: (ParseError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type ParseError. This is a specialized version of handleGErrorJustDomain.

PluginError

data PluginError Source #

The plugin loading errors

Constructors

PluginErrorModule

The plugin could not be loaded

PluginErrorDependencies

The plugin has unresolved dependencies

PluginErrorNameMismatch

The plugin has already be loaded from a different file

AnotherPluginError Int

Catch-all for unknown values

Instances

Instances details
Enum PluginError Source # 
Instance details

Defined in GI.Gst.Enums

Eq PluginError Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: PluginError -> PluginError -> Bool

(/=) :: PluginError -> PluginError -> Bool

Ord PluginError Source # 
Instance details

Defined in GI.Gst.Enums

Show PluginError Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> PluginError -> ShowS

show :: PluginError -> String

showList :: [PluginError] -> ShowS

BoxedEnum PluginError Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject PluginError Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

GErrorClass PluginError Source # 
Instance details

Defined in GI.Gst.Enums

Methods

gerrorClassDomain :: PluginError -> Text

HasParentTypes PluginError Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes PluginError Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes PluginError = '[] :: [Type]

catchPluginError :: IO a -> (PluginError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type PluginError. This is a specialized version of catchGErrorJustDomain.

handlePluginError :: (PluginError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type PluginError. This is a specialized version of handleGErrorJustDomain.

ProgressType

data ProgressType Source #

The type of a MessageTypeProgress. The progress messages inform the application of the status of asynchronous tasks.

Constructors

ProgressTypeStart

A new task started.

ProgressTypeContinue

A task completed and a new one continues.

ProgressTypeComplete

A task completed.

ProgressTypeCanceled

A task was canceled.

ProgressTypeError

A task caused an error. An error message is also posted on the bus.

AnotherProgressType Int

Catch-all for unknown values

Instances

Instances details
Enum ProgressType Source # 
Instance details

Defined in GI.Gst.Enums

Eq ProgressType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: ProgressType -> ProgressType -> Bool

(/=) :: ProgressType -> ProgressType -> Bool

Ord ProgressType Source # 
Instance details

Defined in GI.Gst.Enums

Show ProgressType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> ProgressType -> ShowS

show :: ProgressType -> String

showList :: [ProgressType] -> ShowS

BoxedEnum ProgressType Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject ProgressType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes ProgressType Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes ProgressType Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes ProgressType = '[] :: [Type]

PromiseResult

data PromiseResult Source #

The result of a Promise

Since: 1.14

Constructors

PromiseResultPending

Initial state. Waiting for transition to any other state.

PromiseResultInterrupted

Interrupted by the consumer as it doesn't want the value anymore.

PromiseResultReplied

A producer marked a reply

PromiseResultExpired

The promise expired (the carrying object lost all refs) and the promise will never be fulfilled.

AnotherPromiseResult Int

Catch-all for unknown values

Instances

Instances details
Enum PromiseResult Source # 
Instance details

Defined in GI.Gst.Enums

Eq PromiseResult Source # 
Instance details

Defined in GI.Gst.Enums

Ord PromiseResult Source # 
Instance details

Defined in GI.Gst.Enums

Show PromiseResult Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> PromiseResult -> ShowS

show :: PromiseResult -> String

showList :: [PromiseResult] -> ShowS

BoxedEnum PromiseResult Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject PromiseResult Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes PromiseResult Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes PromiseResult Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes PromiseResult = '[] :: [Type]

QOSType

data QOSType Source #

The different types of QoS events that can be given to the eventNewQos method.

Constructors

QOSTypeOverflow

The QoS event type that is produced when upstream elements are producing data too quickly and the element can't keep up processing the data. Upstream should reduce their production rate. This type is also used when buffers arrive early or in time.

QOSTypeUnderflow

The QoS event type that is produced when upstream elements are producing data too slowly and need to speed up their production rate.

QOSTypeThrottle

The QoS event type that is produced when the application enabled throttling to limit the data rate.

AnotherQOSType Int

Catch-all for unknown values

Instances

Instances details
Enum QOSType Source # 
Instance details

Defined in GI.Gst.Enums

Eq QOSType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: QOSType -> QOSType -> Bool

(/=) :: QOSType -> QOSType -> Bool

Ord QOSType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

compare :: QOSType -> QOSType -> Ordering

(<) :: QOSType -> QOSType -> Bool

(<=) :: QOSType -> QOSType -> Bool

(>) :: QOSType -> QOSType -> Bool

(>=) :: QOSType -> QOSType -> Bool

max :: QOSType -> QOSType -> QOSType

min :: QOSType -> QOSType -> QOSType

Show QOSType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> QOSType -> ShowS

show :: QOSType -> String

showList :: [QOSType] -> ShowS

BoxedEnum QOSType Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject QOSType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes QOSType Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes QOSType Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes QOSType = '[] :: [Type]

QueryType

data QueryType Source #

Standard predefined Query types

Constructors

QueryTypeUnknown

unknown query type

QueryTypePosition

current position in stream

QueryTypeDuration

total duration of the stream

QueryTypeLatency

latency of stream

QueryTypeJitter

current jitter of stream

QueryTypeRate

current rate of the stream

QueryTypeSeeking

seeking capabilities

QueryTypeSegment

segment start/stop positions

QueryTypeConvert

convert values between formats

QueryTypeFormats

query supported formats for convert

QueryTypeBuffering

query available media for efficient seeking.

QueryTypeCustom

a custom application or element defined query.

QueryTypeUri

query the URI of the source or sink.

QueryTypeAllocation

the buffer allocation properties

QueryTypeScheduling

the scheduling properties

QueryTypeAcceptCaps

the accept caps query

QueryTypeCaps

the caps query

QueryTypeDrain

wait till all serialized data is consumed downstream

QueryTypeContext

query the pipeline-local context from downstream or upstream (since 1.2)

QueryTypeBitrate

the bitrate query (since 1.16)

AnotherQueryType Int

Catch-all for unknown values

Instances

Instances details
Enum QueryType Source # 
Instance details

Defined in GI.Gst.Enums

Eq QueryType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: QueryType -> QueryType -> Bool

(/=) :: QueryType -> QueryType -> Bool

Ord QueryType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

compare :: QueryType -> QueryType -> Ordering

(<) :: QueryType -> QueryType -> Bool

(<=) :: QueryType -> QueryType -> Bool

(>) :: QueryType -> QueryType -> Bool

(>=) :: QueryType -> QueryType -> Bool

max :: QueryType -> QueryType -> QueryType

min :: QueryType -> QueryType -> QueryType

Show QueryType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> QueryType -> ShowS

show :: QueryType -> String

showList :: [QueryType] -> ShowS

BoxedEnum QueryType Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject QueryType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes QueryType Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes QueryType Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes QueryType = '[] :: [Type]

Rank

data Rank Source #

Element priority ranks. Defines the order in which the autoplugger (or similar rank-picking mechanisms, such as e.g. elementMakeFromUri) will choose this element over an alternative one with the same function.

These constants serve as a rough guidance for defining the rank of a PluginFeature. Any value is valid, including values bigger than gSTRANKPRIMARY.

Constructors

RankNone

will be chosen last or not at all

RankMarginal

unlikely to be chosen

RankSecondary

likely to be chosen

RankPrimary

will be chosen first

AnotherRank Int

Catch-all for unknown values

Instances

Instances details
Enum Rank Source # 
Instance details

Defined in GI.Gst.Enums

Methods

succ :: Rank -> Rank

pred :: Rank -> Rank

toEnum :: Int -> Rank

fromEnum :: Rank -> Int

enumFrom :: Rank -> [Rank]

enumFromThen :: Rank -> Rank -> [Rank]

enumFromTo :: Rank -> Rank -> [Rank]

enumFromThenTo :: Rank -> Rank -> Rank -> [Rank]

Eq Rank Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: Rank -> Rank -> Bool

(/=) :: Rank -> Rank -> Bool

Ord Rank Source # 
Instance details

Defined in GI.Gst.Enums

Methods

compare :: Rank -> Rank -> Ordering

(<) :: Rank -> Rank -> Bool

(<=) :: Rank -> Rank -> Bool

(>) :: Rank -> Rank -> Bool

(>=) :: Rank -> Rank -> Bool

max :: Rank -> Rank -> Rank

min :: Rank -> Rank -> Rank

Show Rank Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> Rank -> ShowS

show :: Rank -> String

showList :: [Rank] -> ShowS

BoxedEnum Rank Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject Rank Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes Rank Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes Rank Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes Rank = '[] :: [Type]

ResourceError

data ResourceError Source #

Resource errors are for any resource used by an element: memory, files, network connections, process space, ... They're typically used by source and sink elements.

Constructors

ResourceErrorFailed

a general error which doesn't fit in any other category. Make sure you add a custom message to the error call.

ResourceErrorTooLazy

do not use this except as a placeholder for deciding where to go while developing code.

ResourceErrorNotFound

used when the resource could not be found.

ResourceErrorBusy

used when resource is busy.

ResourceErrorOpenRead

used when resource fails to open for reading.

ResourceErrorOpenWrite

used when resource fails to open for writing.

ResourceErrorOpenReadWrite

used when resource cannot be opened for both reading and writing, or either (but unspecified which).

ResourceErrorClose

used when the resource can't be closed.

ResourceErrorRead

used when the resource can't be read from.

ResourceErrorWrite

used when the resource can't be written to.

ResourceErrorSeek

used when a seek on the resource fails.

ResourceErrorSync

used when a synchronize on the resource fails.

ResourceErrorSettings

used when settings can't be manipulated on.

ResourceErrorNoSpaceLeft

used when the resource has no space left.

ResourceErrorNotAuthorized

used when the resource can't be opened due to missing authorization. (Since: 1.2.4)

ResourceErrorNumErrors

the number of resource error types.

AnotherResourceError Int

Catch-all for unknown values

Instances

Instances details
Enum ResourceError Source # 
Instance details

Defined in GI.Gst.Enums

Eq ResourceError Source # 
Instance details

Defined in GI.Gst.Enums

Ord ResourceError Source # 
Instance details

Defined in GI.Gst.Enums

Show ResourceError Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> ResourceError -> ShowS

show :: ResourceError -> String

showList :: [ResourceError] -> ShowS

BoxedEnum ResourceError Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject ResourceError Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

GErrorClass ResourceError Source # 
Instance details

Defined in GI.Gst.Enums

HasParentTypes ResourceError Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes ResourceError Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes ResourceError = '[] :: [Type]

catchResourceError :: IO a -> (ResourceError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type ResourceError. This is a specialized version of catchGErrorJustDomain.

handleResourceError :: (ResourceError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type ResourceError. This is a specialized version of handleGErrorJustDomain.

SearchMode

data SearchMode Source #

The different search modes.

Constructors

SearchModeExact

Only search for exact matches.

SearchModeBefore

Search for an exact match or the element just before.

SearchModeAfter

Search for an exact match or the element just after.

AnotherSearchMode Int

Catch-all for unknown values

Instances

Instances details
Enum SearchMode Source # 
Instance details

Defined in GI.Gst.Enums

Eq SearchMode Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: SearchMode -> SearchMode -> Bool

(/=) :: SearchMode -> SearchMode -> Bool

Ord SearchMode Source # 
Instance details

Defined in GI.Gst.Enums

Show SearchMode Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> SearchMode -> ShowS

show :: SearchMode -> String

showList :: [SearchMode] -> ShowS

BoxedEnum SearchMode Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject SearchMode Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes SearchMode Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes SearchMode Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes SearchMode = '[] :: [Type]

SeekType

data SeekType Source #

The different types of seek events. When constructing a seek event with eventNewSeek or when doing gst_segment_do_seek ().

Constructors

SeekTypeNone

no change in position is required

SeekTypeSet

absolute position is requested

SeekTypeEnd

relative position to duration is requested

AnotherSeekType Int

Catch-all for unknown values

Instances

Instances details
Enum SeekType Source # 
Instance details

Defined in GI.Gst.Enums

Eq SeekType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: SeekType -> SeekType -> Bool

(/=) :: SeekType -> SeekType -> Bool

Ord SeekType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

compare :: SeekType -> SeekType -> Ordering

(<) :: SeekType -> SeekType -> Bool

(<=) :: SeekType -> SeekType -> Bool

(>) :: SeekType -> SeekType -> Bool

(>=) :: SeekType -> SeekType -> Bool

max :: SeekType -> SeekType -> SeekType

min :: SeekType -> SeekType -> SeekType

Show SeekType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> SeekType -> ShowS

show :: SeekType -> String

showList :: [SeekType] -> ShowS

BoxedEnum SeekType Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject SeekType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes SeekType Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes SeekType Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes SeekType = '[] :: [Type]

State

data State Source #

The possible states an element can be in. States can be changed using elementSetState and checked using elementGetState.

Constructors

StateVoidPending

no pending state.

StateNull

the NULL state or initial state of an element.

StateReady

the element is ready to go to PAUSED.

StatePaused

the element is PAUSED, it is ready to accept and process data. Sink elements however only accept one buffer and then block.

StatePlaying

the element is PLAYING, the Clock is running and the data is flowing.

AnotherState Int

Catch-all for unknown values

Instances

Instances details
Enum State Source # 
Instance details

Defined in GI.Gst.Enums

Eq State Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: State -> State -> Bool

(/=) :: State -> State -> Bool

Ord State Source # 
Instance details

Defined in GI.Gst.Enums

Methods

compare :: State -> State -> Ordering

(<) :: State -> State -> Bool

(<=) :: State -> State -> Bool

(>) :: State -> State -> Bool

(>=) :: State -> State -> Bool

max :: State -> State -> State

min :: State -> State -> State

Show State Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> State -> ShowS

show :: State -> String

showList :: [State] -> ShowS

BoxedEnum State Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject State Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes State Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes State Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes State = '[] :: [Type]

StateChange

data StateChange Source #

These are the different state changes an element goes through. StateNull &rArr; StatePlaying is called an upwards state change and StatePlaying &rArr; StateNull a downwards state change.

Constructors

StateChangeNullToReady

state change from NULL to READY. * The element must check if the resources it needs are available. Device sinks and -sources typically try to probe the device to constrain their caps. * The element opens the device (in case feature need to be probed).

StateChangeReadyToPaused

state change from READY to PAUSED. * The element pads are activated in order to receive data in PAUSED. Streaming threads are started. * Some elements might need to return StateChangeReturnAsync and complete the state change when they have enough information. It is a requirement for sinks to return StateChangeReturnAsync and complete the state change when they receive the first buffer or EventTypeEos (preroll). Sinks also block the dataflow when in PAUSED. * A pipeline resets the running_time to 0. * Live sources return StateChangeReturnNoPreroll and don't generate data.

StateChangePausedToPlaying

state change from PAUSED to PLAYING. * Most elements ignore this state change. * The pipeline selects a Clock and distributes this to all the children before setting them to PLAYING. This means that it is only allowed to synchronize on the Clock in the PLAYING state. * The pipeline uses the Clock and the running_time to calculate the base_time. The base_time is distributed to all children when performing the state change. * Sink elements stop blocking on the preroll buffer or event and start rendering the data. * Sinks can post MessageTypeEos in the PLAYING state. It is not allowed to post MessageTypeEos when not in the PLAYING state. * While streaming in PAUSED or PLAYING elements can create and remove sometimes pads. * Live sources start generating data and return StateChangeReturnSuccess.

StateChangePlayingToPaused

state change from PLAYING to PAUSED. * Most elements ignore this state change. * The pipeline calculates the running_time based on the last selected Clock and the base_time. It stores this information to continue playback when going back to the PLAYING state. * Sinks unblock any Clock wait calls. * When a sink does not have a pending buffer to play, it returns GST_STATE_CHANGE_ASYNC from this state change and completes the state change when it receives a new buffer or an EventTypeEos. * Any queued MessageTypeEos items are removed since they will be reposted when going back to the PLAYING state. The EOS messages are queued in Bin containers. * Live sources stop generating data and return StateChangeReturnNoPreroll.

StateChangePausedToReady

state change from PAUSED to READY. * Sinks unblock any waits in the preroll. * Elements unblock any waits on devices * Chain or get_range functions return FlowReturnFlushing. * The element pads are deactivated so that streaming becomes impossible and all streaming threads are stopped. * The sink forgets all negotiated formats * Elements remove all sometimes pads

StateChangeReadyToNull

state change from READY to NULL. * Elements close devices * Elements reset any internal state.

StateChangeNullToNull

state change from NULL to NULL. (Since: 1.14)

StateChangeReadyToReady

state change from READY to READY, This might happen when going to PAUSED asynchronously failed, in that case elements should make sure they are in a proper, coherent READY state. (Since: 1.14)

StateChangePausedToPaused

state change from PAUSED to PAUSED. This might happen when elements were in PLAYING state and 'lost state', they should make sure to go back to real 'PAUSED' state (prerolling for example). (Since: 1.14)

StateChangePlayingToPlaying

state change from PLAYING to PLAYING. (Since: 1.14)

AnotherStateChange Int

Catch-all for unknown values

Instances

Instances details
Enum StateChange Source # 
Instance details

Defined in GI.Gst.Enums

Eq StateChange Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: StateChange -> StateChange -> Bool

(/=) :: StateChange -> StateChange -> Bool

Ord StateChange Source # 
Instance details

Defined in GI.Gst.Enums

Show StateChange Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> StateChange -> ShowS

show :: StateChange -> String

showList :: [StateChange] -> ShowS

BoxedEnum StateChange Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject StateChange Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes StateChange Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes StateChange Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes StateChange = '[] :: [Type]

StateChangeReturn

data StateChangeReturn Source #

The possible return values from a state change function such as elementSetState. Only gSTSTATECHANGEFAILURE is a real failure.

Constructors

StateChangeReturnFailure

the state change failed

StateChangeReturnSuccess

the state change succeeded

StateChangeReturnAsync

the state change will happen asynchronously

StateChangeReturnNoPreroll

the state change succeeded but the element cannot produce data in StatePaused. This typically happens with live sources.

AnotherStateChangeReturn Int

Catch-all for unknown values

Instances

Instances details
Enum StateChangeReturn Source # 
Instance details

Defined in GI.Gst.Enums

Eq StateChangeReturn Source # 
Instance details

Defined in GI.Gst.Enums

Ord StateChangeReturn Source # 
Instance details

Defined in GI.Gst.Enums

Show StateChangeReturn Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> StateChangeReturn -> ShowS

show :: StateChangeReturn -> String

showList :: [StateChangeReturn] -> ShowS

BoxedEnum StateChangeReturn Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject StateChangeReturn Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes StateChangeReturn Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes StateChangeReturn Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes StateChangeReturn = '[] :: [Type]

StreamError

data StreamError Source #

Stream errors are for anything related to the stream being processed: format errors, media type errors, ... They're typically used by decoders, demuxers, converters, ...

Constructors

StreamErrorFailed

a general error which doesn't fit in any other category. Make sure you add a custom message to the error call.

StreamErrorTooLazy

do not use this except as a placeholder for deciding where to go while developing code.

StreamErrorNotImplemented

use this when you do not want to implement this functionality yet.

StreamErrorTypeNotFound

used when the element doesn't know the stream's type.

StreamErrorWrongType

used when the element doesn't handle this type of stream.

StreamErrorCodecNotFound

used when there's no codec to handle the stream's type.

StreamErrorDecode

used when decoding fails.

StreamErrorEncode

used when encoding fails.

StreamErrorDemux

used when demuxing fails.

StreamErrorMux

used when muxing fails.

StreamErrorFormat

used when the stream is of the wrong format (for example, wrong caps).

StreamErrorDecrypt

used when the stream is encrypted and can't be decrypted because this is not supported by the element.

StreamErrorDecryptNokey

used when the stream is encrypted and can't be decrypted because no suitable key is available.

StreamErrorNumErrors

the number of stream error types.

AnotherStreamError Int

Catch-all for unknown values

Instances

Instances details
Enum StreamError Source # 
Instance details

Defined in GI.Gst.Enums

Eq StreamError Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: StreamError -> StreamError -> Bool

(/=) :: StreamError -> StreamError -> Bool

Ord StreamError Source # 
Instance details

Defined in GI.Gst.Enums

Show StreamError Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> StreamError -> ShowS

show :: StreamError -> String

showList :: [StreamError] -> ShowS

BoxedEnum StreamError Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject StreamError Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

GErrorClass StreamError Source # 
Instance details

Defined in GI.Gst.Enums

Methods

gerrorClassDomain :: StreamError -> Text

HasParentTypes StreamError Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes StreamError Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes StreamError = '[] :: [Type]

catchStreamError :: IO a -> (StreamError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type StreamError. This is a specialized version of catchGErrorJustDomain.

handleStreamError :: (StreamError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type StreamError. This is a specialized version of handleGErrorJustDomain.

StreamStatusType

data StreamStatusType Source #

The type of a MessageTypeStreamStatus. The stream status messages inform the application of new streaming threads and their status.

Constructors

StreamStatusTypeCreate

A new thread need to be created.

StreamStatusTypeEnter

a thread entered its loop function

StreamStatusTypeLeave

a thread left its loop function

StreamStatusTypeDestroy

a thread is destroyed

StreamStatusTypeStart

a thread is started

StreamStatusTypePause

a thread is paused

StreamStatusTypeStop

a thread is stopped

AnotherStreamStatusType Int

Catch-all for unknown values

Instances

Instances details
Enum StreamStatusType Source # 
Instance details

Defined in GI.Gst.Enums

Eq StreamStatusType Source # 
Instance details

Defined in GI.Gst.Enums

Ord StreamStatusType Source # 
Instance details

Defined in GI.Gst.Enums

Show StreamStatusType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> StreamStatusType -> ShowS

show :: StreamStatusType -> String

showList :: [StreamStatusType] -> ShowS

BoxedEnum StreamStatusType Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject StreamStatusType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes StreamStatusType Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes StreamStatusType Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes StreamStatusType = '[] :: [Type]

StructureChangeType

data StructureChangeType Source #

Constructors

StructureChangeTypeLink

Pad linking is starting or done.

StructureChangeTypeUnlink

Pad unlinking is starting or done.

AnotherStructureChangeType Int

Catch-all for unknown values

Instances

Instances details
Enum StructureChangeType Source # 
Instance details

Defined in GI.Gst.Enums

Eq StructureChangeType Source # 
Instance details

Defined in GI.Gst.Enums

Ord StructureChangeType Source # 
Instance details

Defined in GI.Gst.Enums

Show StructureChangeType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> StructureChangeType -> ShowS

show :: StructureChangeType -> String

showList :: [StructureChangeType] -> ShowS

BoxedEnum StructureChangeType Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject StructureChangeType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes StructureChangeType Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes StructureChangeType Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes StructureChangeType = '[] :: [Type]

TagFlag

data TagFlag Source #

Extra tag flags used when registering tags.

Constructors

TagFlagUndefined

undefined flag

TagFlagMeta

tag is meta data

TagFlagEncoded

tag is encoded

TagFlagDecoded

tag is decoded

TagFlagCount

number of tag flags

AnotherTagFlag Int

Catch-all for unknown values

Instances

Instances details
Enum TagFlag Source # 
Instance details

Defined in GI.Gst.Enums

Eq TagFlag Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: TagFlag -> TagFlag -> Bool

(/=) :: TagFlag -> TagFlag -> Bool

Ord TagFlag Source # 
Instance details

Defined in GI.Gst.Enums

Methods

compare :: TagFlag -> TagFlag -> Ordering

(<) :: TagFlag -> TagFlag -> Bool

(<=) :: TagFlag -> TagFlag -> Bool

(>) :: TagFlag -> TagFlag -> Bool

(>=) :: TagFlag -> TagFlag -> Bool

max :: TagFlag -> TagFlag -> TagFlag

min :: TagFlag -> TagFlag -> TagFlag

Show TagFlag Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> TagFlag -> ShowS

show :: TagFlag -> String

showList :: [TagFlag] -> ShowS

BoxedEnum TagFlag Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject TagFlag Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes TagFlag Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes TagFlag Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes TagFlag = '[] :: [Type]

TagMergeMode

data TagMergeMode Source #

The different tag merging modes are basically replace, overwrite and append, but they can be seen from two directions. Given two taglists: (A) the tags already in the element and (B) the ones that are supplied to the element ( e.g. via tagSetterMergeTags / gst_tag_setter_add_tags() or a EventTypeTag), how are these tags merged? In the table below this is shown for the cases that a tag exists in the list (A) or does not exists (!A) and combinations thereof.

<table frame="all" colsep="1" rowsep="1"> <title>merge mode</title> <tgroup cols='5' align='left'> <thead> <row> <entry>merge mode</entry> <entry>A + B</entry> <entry>A + !B</entry> <entry>!A + B</entry> <entry>!A + !B</entry> </row> </thead> <tbody> <row> <entry>REPLACE_ALL</entry> <entry>B</entry> <entry>-</entry> <entry>B</entry> <entry>-</entry> </row> <row> <entry>REPLACE</entry> <entry>B</entry> <entry>A</entry> <entry>B</entry> <entry>-</entry> </row> <row> <entry>APPEND</entry> <entry>A, B</entry> <entry>A</entry> <entry>B</entry> <entry>-</entry> </row> <row> <entry>PREPEND</entry> <entry>B, A</entry> <entry>A</entry> <entry>B</entry> <entry>-</entry> </row> <row> <entry>KEEP</entry> <entry>A</entry> <entry>A</entry> <entry>B</entry> <entry>-</entry> </row> <row> <entry>KEEP_ALL</entry> <entry>A</entry> <entry>A</entry> <entry>-</entry> <entry>-</entry> </row> </tbody> </tgroup> </table>

Constructors

TagMergeModeUndefined

undefined merge mode

TagMergeModeReplaceAll

replace all tags (clear list and append)

TagMergeModeReplace

replace tags

TagMergeModeAppend

append tags

TagMergeModePrepend

prepend tags

TagMergeModeKeep

keep existing tags

TagMergeModeKeepAll

keep all existing tags

TagMergeModeCount

the number of merge modes

AnotherTagMergeMode Int

Catch-all for unknown values

Instances

Instances details
Enum TagMergeMode Source # 
Instance details

Defined in GI.Gst.Enums

Eq TagMergeMode Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: TagMergeMode -> TagMergeMode -> Bool

(/=) :: TagMergeMode -> TagMergeMode -> Bool

Ord TagMergeMode Source # 
Instance details

Defined in GI.Gst.Enums

Show TagMergeMode Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> TagMergeMode -> ShowS

show :: TagMergeMode -> String

showList :: [TagMergeMode] -> ShowS

BoxedEnum TagMergeMode Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject TagMergeMode Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes TagMergeMode Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes TagMergeMode Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes TagMergeMode = '[] :: [Type]

TagScope

data TagScope Source #

GstTagScope specifies if a taglist applies to the complete medium or only to one single stream.

Constructors

TagScopeStream

tags specific to this single stream

TagScopeGlobal

global tags for the complete medium

AnotherTagScope Int

Catch-all for unknown values

Instances

Instances details
Enum TagScope Source # 
Instance details

Defined in GI.Gst.Enums

Eq TagScope Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: TagScope -> TagScope -> Bool

(/=) :: TagScope -> TagScope -> Bool

Ord TagScope Source # 
Instance details

Defined in GI.Gst.Enums

Methods

compare :: TagScope -> TagScope -> Ordering

(<) :: TagScope -> TagScope -> Bool

(<=) :: TagScope -> TagScope -> Bool

(>) :: TagScope -> TagScope -> Bool

(>=) :: TagScope -> TagScope -> Bool

max :: TagScope -> TagScope -> TagScope

min :: TagScope -> TagScope -> TagScope

Show TagScope Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> TagScope -> ShowS

show :: TagScope -> String

showList :: [TagScope] -> ShowS

BoxedEnum TagScope Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject TagScope Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes TagScope Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes TagScope Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes TagScope = '[] :: [Type]

TaskState

data TaskState Source #

The different states a task can be in

Constructors

TaskStateStarted

the task is started and running

TaskStateStopped

the task is stopped

TaskStatePaused

the task is paused

AnotherTaskState Int

Catch-all for unknown values

Instances

Instances details
Enum TaskState Source # 
Instance details

Defined in GI.Gst.Enums

Eq TaskState Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: TaskState -> TaskState -> Bool

(/=) :: TaskState -> TaskState -> Bool

Ord TaskState Source # 
Instance details

Defined in GI.Gst.Enums

Methods

compare :: TaskState -> TaskState -> Ordering

(<) :: TaskState -> TaskState -> Bool

(<=) :: TaskState -> TaskState -> Bool

(>) :: TaskState -> TaskState -> Bool

(>=) :: TaskState -> TaskState -> Bool

max :: TaskState -> TaskState -> TaskState

min :: TaskState -> TaskState -> TaskState

Show TaskState Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> TaskState -> ShowS

show :: TaskState -> String

showList :: [TaskState] -> ShowS

BoxedEnum TaskState Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject TaskState Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes TaskState Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes TaskState Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes TaskState = '[] :: [Type]

TocEntryType

data TocEntryType Source #

The different types of TOC entries (see TocEntry).

There are two types of TOC entries: alternatives or parts in a sequence.

Constructors

TocEntryTypeAngle

entry is an angle (i.e. an alternative)

TocEntryTypeVersion

entry is a version (i.e. alternative)

TocEntryTypeEdition

entry is an edition (i.e. alternative)

TocEntryTypeInvalid

invalid entry type value

TocEntryTypeTitle

entry is a title (i.e. a part of a sequence)

TocEntryTypeTrack

entry is a track (i.e. a part of a sequence)

TocEntryTypeChapter

entry is a chapter (i.e. a part of a sequence)

AnotherTocEntryType Int

Catch-all for unknown values

Instances

Instances details
Enum TocEntryType Source # 
Instance details

Defined in GI.Gst.Enums

Eq TocEntryType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: TocEntryType -> TocEntryType -> Bool

(/=) :: TocEntryType -> TocEntryType -> Bool

Ord TocEntryType Source # 
Instance details

Defined in GI.Gst.Enums

Show TocEntryType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> TocEntryType -> ShowS

show :: TocEntryType -> String

showList :: [TocEntryType] -> ShowS

BoxedEnum TocEntryType Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject TocEntryType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes TocEntryType Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes TocEntryType Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes TocEntryType = '[] :: [Type]

TocLoopType

data TocLoopType Source #

How a TocEntry should be repeated. By default, entries are played a single time.

Since: 1.4

Constructors

TocLoopTypeNone

single forward playback

TocLoopTypeForward

repeat forward

TocLoopTypeReverse

repeat backward

TocLoopTypePingPong

repeat forward and backward

AnotherTocLoopType Int

Catch-all for unknown values

Instances

Instances details
Enum TocLoopType Source # 
Instance details

Defined in GI.Gst.Enums

Eq TocLoopType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: TocLoopType -> TocLoopType -> Bool

(/=) :: TocLoopType -> TocLoopType -> Bool

Ord TocLoopType Source # 
Instance details

Defined in GI.Gst.Enums

Show TocLoopType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> TocLoopType -> ShowS

show :: TocLoopType -> String

showList :: [TocLoopType] -> ShowS

BoxedEnum TocLoopType Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject TocLoopType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes TocLoopType Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes TocLoopType Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes TocLoopType = '[] :: [Type]

TocScope

data TocScope Source #

The scope of a TOC.

Constructors

TocScopeGlobal

global TOC representing all selectable options (this is what applications are usually interested in)

TocScopeCurrent

TOC for the currently active/selected stream (this is a TOC representing the current stream from start to EOS, and is what a TOC writer / muxer is usually interested in; it will usually be a subset of the global TOC, e.g. just the chapters of the current title, or the chapters selected for playback from the current title)

AnotherTocScope Int

Catch-all for unknown values

Instances

Instances details
Enum TocScope Source # 
Instance details

Defined in GI.Gst.Enums

Eq TocScope Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: TocScope -> TocScope -> Bool

(/=) :: TocScope -> TocScope -> Bool

Ord TocScope Source # 
Instance details

Defined in GI.Gst.Enums

Methods

compare :: TocScope -> TocScope -> Ordering

(<) :: TocScope -> TocScope -> Bool

(<=) :: TocScope -> TocScope -> Bool

(>) :: TocScope -> TocScope -> Bool

(>=) :: TocScope -> TocScope -> Bool

max :: TocScope -> TocScope -> TocScope

min :: TocScope -> TocScope -> TocScope

Show TocScope Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> TocScope -> ShowS

show :: TocScope -> String

showList :: [TocScope] -> ShowS

BoxedEnum TocScope Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject TocScope Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes TocScope Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes TocScope Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes TocScope = '[] :: [Type]

TracerValueScope

data TracerValueScope Source #

Tracing record will contain fields that contain a measured value or extra meta-data. One such meta data are values that tell where a measurement was taken. This enumerating declares to which scope such a meta data field relates to. If it is e.g. TracerValueScopePad, then each of the log events may contain values for different GstPads.

Since: 1.8

Constructors

TracerValueScopeProcess

the value is related to the process

TracerValueScopeThread

the value is related to a thread

TracerValueScopeElement

the value is related to an Element

TracerValueScopePad

the value is related to a Pad

AnotherTracerValueScope Int

Catch-all for unknown values

Instances

Instances details
Enum TracerValueScope Source # 
Instance details

Defined in GI.Gst.Enums

Eq TracerValueScope Source # 
Instance details

Defined in GI.Gst.Enums

Ord TracerValueScope Source # 
Instance details

Defined in GI.Gst.Enums

Show TracerValueScope Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> TracerValueScope -> ShowS

show :: TracerValueScope -> String

showList :: [TracerValueScope] -> ShowS

BoxedEnum TracerValueScope Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject TracerValueScope Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes TracerValueScope Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes TracerValueScope Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes TracerValueScope = '[] :: [Type]

TypeFindProbability

data TypeFindProbability Source #

The probability of the typefind function. Higher values have more certainty in doing a reliable typefind.

Constructors

TypeFindProbabilityNone

type undetected.

TypeFindProbabilityMinimum

unlikely typefind.

TypeFindProbabilityPossible

possible type detected.

TypeFindProbabilityLikely

likely a type was detected.

TypeFindProbabilityNearlyCertain

nearly certain that a type was detected.

TypeFindProbabilityMaximum

very certain a type was detected.

AnotherTypeFindProbability Int

Catch-all for unknown values

Instances

Instances details
Enum TypeFindProbability Source # 
Instance details

Defined in GI.Gst.Enums

Eq TypeFindProbability Source # 
Instance details

Defined in GI.Gst.Enums

Ord TypeFindProbability Source # 
Instance details

Defined in GI.Gst.Enums

Show TypeFindProbability Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> TypeFindProbability -> ShowS

show :: TypeFindProbability -> String

showList :: [TypeFindProbability] -> ShowS

BoxedEnum TypeFindProbability Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject TypeFindProbability Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes TypeFindProbability Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes TypeFindProbability Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes TypeFindProbability = '[] :: [Type]

URIError

data URIError Source #

Different URI-related errors that can occur.

Constructors

URIErrorUnsupportedProtocol

The protocol is not supported

URIErrorBadUri

There was a problem with the URI

URIErrorBadState

Could not set or change the URI because the URI handler was in a state where that is not possible or not permitted

URIErrorBadReference

There was a problem with the entity that the URI references

AnotherURIError Int

Catch-all for unknown values

Instances

Instances details
Enum URIError Source # 
Instance details

Defined in GI.Gst.Enums

Eq URIError Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: URIError -> URIError -> Bool

(/=) :: URIError -> URIError -> Bool

Ord URIError Source # 
Instance details

Defined in GI.Gst.Enums

Methods

compare :: URIError -> URIError -> Ordering

(<) :: URIError -> URIError -> Bool

(<=) :: URIError -> URIError -> Bool

(>) :: URIError -> URIError -> Bool

(>=) :: URIError -> URIError -> Bool

max :: URIError -> URIError -> URIError

min :: URIError -> URIError -> URIError

Show URIError Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> URIError -> ShowS

show :: URIError -> String

showList :: [URIError] -> ShowS

BoxedEnum URIError Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject URIError Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

GErrorClass URIError Source # 
Instance details

Defined in GI.Gst.Enums

Methods

gerrorClassDomain :: URIError -> Text

HasParentTypes URIError Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes URIError Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes URIError = '[] :: [Type]

catchURIError :: IO a -> (URIError -> GErrorMessage -> IO a) -> IO a Source #

Catch exceptions of type URIError. This is a specialized version of catchGErrorJustDomain.

handleURIError :: (URIError -> GErrorMessage -> IO a) -> IO a -> IO a Source #

Handle exceptions of type URIError. This is a specialized version of handleGErrorJustDomain.

URIType

data URIType Source #

The different types of URI direction.

Constructors

URITypeUnknown

The URI direction is unknown

URITypeSink

The URI is a consumer.

URITypeSrc

The URI is a producer.

AnotherURIType Int

Catch-all for unknown values

Instances

Instances details
Enum URIType Source # 
Instance details

Defined in GI.Gst.Enums

Eq URIType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

(==) :: URIType -> URIType -> Bool

(/=) :: URIType -> URIType -> Bool

Ord URIType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

compare :: URIType -> URIType -> Ordering

(<) :: URIType -> URIType -> Bool

(<=) :: URIType -> URIType -> Bool

(>) :: URIType -> URIType -> Bool

(>=) :: URIType -> URIType -> Bool

max :: URIType -> URIType -> URIType

min :: URIType -> URIType -> URIType

Show URIType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

showsPrec :: Int -> URIType -> ShowS

show :: URIType -> String

showList :: [URIType] -> ShowS

BoxedEnum URIType Source # 
Instance details

Defined in GI.Gst.Enums

TypedObject URIType Source # 
Instance details

Defined in GI.Gst.Enums

Methods

glibType :: IO GType

HasParentTypes URIType Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes URIType Source # 
Instance details

Defined in GI.Gst.Enums

type ParentTypes URIType = '[] :: [Type]