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.Objects.ProxyPad

Description

No description available in the introspection data.

Synopsis

Exported types

newtype ProxyPad Source #

Memory-managed wrapper type.

Constructors

ProxyPad (ManagedPtr ProxyPad) 

Instances

Instances details
Eq ProxyPad Source # 
Instance details

Defined in GI.Gst.Objects.ProxyPad

Methods

(==) :: ProxyPad -> ProxyPad -> Bool

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

GObject ProxyPad Source # 
Instance details

Defined in GI.Gst.Objects.ProxyPad

ManagedPtrNewtype ProxyPad Source # 
Instance details

Defined in GI.Gst.Objects.ProxyPad

Methods

toManagedPtr :: ProxyPad -> ManagedPtr ProxyPad

TypedObject ProxyPad Source # 
Instance details

Defined in GI.Gst.Objects.ProxyPad

Methods

glibType :: IO GType

IsGValue ProxyPad Source #

Convert ProxyPad to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Gst.Objects.ProxyPad

Methods

toGValue :: ProxyPad -> IO GValue

fromGValue :: GValue -> IO ProxyPad

HasParentTypes ProxyPad Source # 
Instance details

Defined in GI.Gst.Objects.ProxyPad

type ParentTypes ProxyPad Source # 
Instance details

Defined in GI.Gst.Objects.ProxyPad

type ParentTypes ProxyPad = '[Pad, Object, Object]

class (GObject o, IsDescendantOf ProxyPad o) => IsProxyPad o Source #

Type class for types which can be safely cast to ProxyPad, for instance with toProxyPad.

Instances

Instances details
(GObject o, IsDescendantOf ProxyPad o) => IsProxyPad o Source # 
Instance details

Defined in GI.Gst.Objects.ProxyPad

toProxyPad :: (MonadIO m, IsProxyPad o) => o -> m ProxyPad Source #

Cast to ProxyPad, for types for which this is known to be safe. For general casts, use castTo.

Methods

Overloaded methods

chainDefault

proxyPadChainDefault Source #

Arguments

:: (HasCallStack, MonadIO m, IsPad a, IsObject b) 
=> a

pad: a sink Pad, returns GST_FLOW_ERROR if not.

-> Maybe b

parent: the parent of pad or Nothing

-> Buffer

buffer: the Buffer to send, return GST_FLOW_ERROR if not.

-> m FlowReturn

Returns: a FlowReturn from the pad.

Invoke the default chain function of the proxy pad.

chainListDefault

proxyPadChainListDefault Source #

Arguments

:: (HasCallStack, MonadIO m, IsPad a, IsObject b) 
=> a

pad: a sink Pad, returns GST_FLOW_ERROR if not.

-> Maybe b

parent: the parent of pad or Nothing

-> BufferList

list: the BufferList to send, return GST_FLOW_ERROR if not.

-> m FlowReturn

Returns: a FlowReturn from the pad.

Invoke the default chain list function of the proxy pad.

getInternal

proxyPadGetInternal Source #

Arguments

:: (HasCallStack, MonadIO m, IsProxyPad a) 
=> a

pad: the ProxyPad

-> m (Maybe ProxyPad)

Returns: the target ProxyPad, can be Nothing. Unref target pad after usage.

Get the internal pad of pad. Unref target pad after usage.

The internal pad of a GhostPad is the internally used pad of opposite direction, which is used to link to the target.

getrangeDefault

proxyPadGetrangeDefault Source #

Arguments

:: (HasCallStack, MonadIO m, IsPad a, IsObject b) 
=> a

pad: a src Pad, returns GST_FLOW_ERROR if not.

-> b

parent: the parent of pad

-> Word64

offset: The start offset of the buffer

-> Word32

size: The length of the buffer

-> m (FlowReturn, Buffer)

Returns: a FlowReturn from the pad.

Invoke the default getrange function of the proxy pad.

iterateInternalLinksDefault

proxyPadIterateInternalLinksDefault Source #

Arguments

:: (HasCallStack, MonadIO m, IsPad a, IsObject b) 
=> a

pad: the Pad to get the internal links of.

-> Maybe b

parent: the parent of pad or Nothing

-> m (Maybe Iterator)

Returns: a Iterator of Pad, or Nothing if pad has no parent. Unref each returned pad with objectUnref.

Invoke the default iterate internal links function of the proxy pad.