gi-gst-1.0.11: GStreamer bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gst.Objects.ProxyPad

Contents

Description

 

Synopsis

Exported types

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.