| Gtk2Hs | Contents | Index

Media.Streaming.GStreamer.Core.Pad

Maintainer | gtk2hs-devel@lists.sourceforge.net Stability : alpha Portability : portable (depends on GHC)

Description
Synopsis

data Pad
class ObjectClass o => PadClass o
castToPad :: GObjectClass obj => obj -> Pad
toPad :: PadClass o => o -> Pad

data PadFlags

= PadBlocked
| PadFlushing
| PadInGetCaps
| PadInSetCaps
| PadBlocking

data PadDirection

= PadUnknown
| PadSrc
| PadSink

data PadLinkReturn

= PadLinkOk
| PadLinkWrongHierarchy
| PadLinkWasLinked
| PadLinkWrongDirection
| PadLinkNoformat
| PadLinkNosched
| PadLinkRefused

data FlowReturn

= FlowCustomSuccess2
| FlowCustomSuccess1
| FlowCustomSuccess
| FlowResend
| FlowOk
| FlowNotLinked
| FlowWrongState
| FlowUnexpected
| FlowNotNegotiated
| FlowError
| FlowNotSupported
| FlowCustomError
| FlowCustomError1
| FlowCustomError2

data ActivateMode

= ActivateNone
| ActivatePush
| ActivatePull

padGetFlags :: PadClass padT => padT -> IO [PadFlags]
padSetFlags :: PadClass padT => padT -> [PadFlags] -> IO ()
padUnsetFlags :: PadClass padT => padT -> [PadFlags] -> IO ()
padNew :: String -> PadDirection -> IO Pad
padGetDirection :: PadClass pad => pad -> IO PadDirection
padGetParentElement :: PadClass pad => pad -> IO Element
padLink :: (PadClass srcpad, PadClass sinkpad) => srcpad -> sinkpad -> IO PadLinkReturn
padUnlink :: (PadClass srcpad, PadClass sinkpad) => srcpad -> sinkpad -> IO Bool
padIsLinked :: PadClass pad => pad -> IO Bool
padCanLink :: (PadClass srcpad, PadClass sinkpad) => srcpad -> sinkpad -> IO Bool
padGetCaps :: PadClass pad => pad -> IO Caps
padGetAllowedCaps :: PadClass pad => pad -> IO (Maybe Caps)
padGetNegotiatedCaps :: PadClass pad => pad -> IO (Maybe Caps)
padGetPadTemplateCaps :: PadClass pad => pad -> IO Caps
padSetCaps :: PadClass pad => pad -> Maybe Caps -> IO Bool
padGetPeer :: PadClass pad => pad -> IO (Maybe Pad)
padPeerGetCaps :: PadClass pad => pad -> IO (Maybe Caps)
padIsActive :: PadClass pad => pad -> IO Bool
padSetBlocked :: PadClass pad => pad -> Bool -> IO Bool
padIsBlocked :: PadClass pad => pad -> IO Bool
padIsBlocking :: PadClass pad => pad -> IO Bool
padNewFromTemplate :: PadTemplateClass padTemplate => padTemplate -> String -> IO (Maybe Pad)
padAcceptCaps :: PadClass pad => pad -> Caps -> IO Bool
padProxyGetcaps :: PadClass pad => pad -> IO Caps
padFixateCaps :: PadClass pad => pad -> Caps -> IO Caps
padPeerAcceptCaps :: PadClass pad => pad -> Caps -> IO Bool
padSendEvent :: (PadClass pad, EventClass event) => pad -> event -> IO Bool
padQuery :: (PadClass pad, QueryClass query) => pad -> query -> IO (Maybe query)
padQueryPosition :: PadClass pad => pad -> IO (Maybe (Format, Int64))
padQueryDuration :: PadClass pad => pad -> IO (Maybe (Format, Int64))
padQueryConvert :: PadClass pad => pad -> Format -> Int64 -> IO (Maybe (Format, Int64))
padQueryPeerPosition :: PadClass pad => pad -> IO (Maybe (Format, Int64))
padQueryPeerDuration :: PadClass pad => pad -> IO (Maybe (Format, Int64))
padQueryPeerConvert :: PadClass pad => pad -> Format -> Int64 -> IO (Maybe (Format, Int64))
padGetQueryTypes :: PadClass pad => pad -> IO [QueryType]
onPadLinked :: PadClass pad => pad -> (Pad -> IO ()) -> IO (ConnectId pad)
afterPadLinked :: PadClass pad => pad -> (Pad -> IO ()) -> IO (ConnectId pad)
onPadRequestLink :: PadClass pad => pad -> IO () -> IO (ConnectId pad)
afterPadRequestLink :: PadClass pad => pad -> IO () -> IO (ConnectId pad)
onPadUnlinked :: PadClass pad => pad -> (Pad -> IO ()) -> IO (ConnectId pad)
afterPadUnlinked :: PadClass pad => pad -> (Pad -> IO ()) -> IO (ConnectId pad)
padCaps :: PadClass pad => ReadAttr pad Caps
padDirection :: PadClass pad => ReadAttr pad PadDirection
padTemplate :: PadClass pad => ReadAttr pad PadTemplate

Documentation
data Pad

Instances

GObjectClass Pad
PadClass Pad
ObjectClass Pad
Iterable Pad

class ObjectClass o => PadClass o

Instances

PadClass GhostPad
PadClass Pad

castToPad :: GObjectClass obj => obj -> Pad
toPad :: PadClass o => o -> Pad
data PadFlags

The flags that a Pad may have.
Constructors

PadBlocked | dataflow on the pad is blocked
PadFlushing | the pad is refusing buffers
PadInGetCaps | padGetCaps is executing
PadInSetCaps | padSetCaps is executing
PadBlocking | the pad is blocking on a buffer or event

Instances

Bounded PadFlags
Enum PadFlags
Eq PadFlags
Show PadFlags
Flags PadFlags

data PadDirection

Constructors

PadUnknown |
PadSrc |
PadSink |

Instances

Enum PadDirection
Eq PadDirection
Show PadDirection

data PadLinkReturn

Constructors

PadLinkOk |
PadLinkWrongHierarchy |
PadLinkWasLinked |
PadLinkWrongDirection |
PadLinkNoformat |
PadLinkNosched |
PadLinkRefused |

Instances

Enum PadLinkReturn
Eq PadLinkReturn
Show PadLinkReturn

data FlowReturn

Constructors

FlowCustomSuccess2 |
FlowCustomSuccess1 |
FlowCustomSuccess |
FlowResend |
FlowOk |
FlowNotLinked |
FlowWrongState |
FlowUnexpected |
FlowNotNegotiated |
FlowError |
FlowNotSupported |
FlowCustomError |
FlowCustomError1 |
FlowCustomError2 |

Instances

Enum FlowReturn
Eq FlowReturn
Show FlowReturn

data ActivateMode

Constructors

ActivateNone |
ActivatePush |
ActivatePull |

Instances

Enum ActivateMode
Eq ActivateMode
Show ActivateMode

padGetFlags :: PadClass padT => padT -> IO [PadFlags]
padSetFlags :: PadClass padT => padT -> [PadFlags] -> IO ()
padUnsetFlags :: PadClass padT => padT -> [PadFlags] -> IO ()
padNew :: String -> PadDirection -> IO Pad
padGetDirection :: PadClass pad => pad -> IO PadDirection
padGetParentElement :: PadClass pad => pad -> IO Element
padLink :: (PadClass srcpad, PadClass sinkpad) => srcpad -> sinkpad -> IO PadLinkReturn
padUnlink :: (PadClass srcpad, PadClass sinkpad) => srcpad -> sinkpad -> IO Bool
padIsLinked :: PadClass pad => pad -> IO Bool
padCanLink :: (PadClass srcpad, PadClass sinkpad) => srcpad -> sinkpad -> IO Bool
padGetCaps :: PadClass pad => pad -> IO Caps
padGetAllowedCaps :: PadClass pad => pad -> IO (Maybe Caps)
padGetNegotiatedCaps :: PadClass pad => pad -> IO (Maybe Caps)
padGetPadTemplateCaps :: PadClass pad => pad -> IO Caps
padSetCaps :: PadClass pad => pad -> Maybe Caps -> IO Bool
padGetPeer :: PadClass pad => pad -> IO (Maybe Pad)
padPeerGetCaps :: PadClass pad => pad -> IO (Maybe Caps)
padIsActive :: PadClass pad => pad -> IO Bool
padSetBlocked :: PadClass pad => pad -> Bool -> IO Bool
padIsBlocked :: PadClass pad => pad -> IO Bool
padIsBlocking :: PadClass pad => pad -> IO Bool
padNewFromTemplate :: PadTemplateClass padTemplate => padTemplate -> String -> IO (Maybe Pad)
padAcceptCaps :: PadClass pad => pad -> Caps -> IO Bool
padProxyGetcaps :: PadClass pad => pad -> IO Caps
padFixateCaps :: PadClass pad => pad -> Caps -> IO Caps
padPeerAcceptCaps :: PadClass pad => pad -> Caps -> IO Bool
padSendEvent :: (PadClass pad, EventClass event) => pad -> event -> IO Bool
padQuery :: (PadClass pad, QueryClass query) => pad -> query -> IO (Maybe query)
padQueryPosition :: PadClass pad => pad -> IO (Maybe (Format, Int64))
padQueryDuration :: PadClass pad => pad -> IO (Maybe (Format, Int64))
padQueryConvert :: PadClass pad => pad -> Format -> Int64 -> IO (Maybe (Format, Int64))
padQueryPeerPosition :: PadClass pad => pad -> IO (Maybe (Format, Int64))
padQueryPeerDuration :: PadClass pad => pad -> IO (Maybe (Format, Int64))
padQueryPeerConvert :: PadClass pad => pad -> Format -> Int64 -> IO (Maybe (Format, Int64))
padGetQueryTypes :: PadClass pad => pad -> IO [QueryType]
onPadLinked :: PadClass pad => pad -> (Pad -> IO ()) -> IO (ConnectId pad)
afterPadLinked :: PadClass pad => pad -> (Pad -> IO ()) -> IO (ConnectId pad)
onPadRequestLink :: PadClass pad => pad -> IO () -> IO (ConnectId pad)
afterPadRequestLink :: PadClass pad => pad -> IO () -> IO (ConnectId pad)
onPadUnlinked :: PadClass pad => pad -> (Pad -> IO ()) -> IO (ConnectId pad)
afterPadUnlinked :: PadClass pad => pad -> (Pad -> IO ()) -> IO (ConnectId pad)
padCaps :: PadClass pad => ReadAttr pad Caps
padDirection :: PadClass pad => ReadAttr pad PadDirection
padTemplate :: PadClass pad => ReadAttr pad PadTemplate
Produced by Haddock version 2.4.2