gi-gstbase-1.0.25: GStreamerBase bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.GstBase.Objects.PushSrc

Description

This class is mostly useful for elements that cannot do random access, or at least very slowly. The source usually prefers to push out a fixed size buffer.

Subclasses usually operate in a format that is different from the default GST_FORMAT_BYTES format of BaseSrc.

Classes extending this base class will usually be scheduled in a push based mode. If the peer accepts to operate without offsets and within the limits of the allowed block size, this class can operate in getrange based mode automatically. To make this possible, the subclass should implement and override the SCHEDULING query.

The subclass should extend the methods from the baseclass in addition to the create method.

Seeking, flushing, scheduling and sync is all handled by this base class.

Synopsis

Exported types

newtype PushSrc Source #

Memory-managed wrapper type.

Constructors

PushSrc (ManagedPtr PushSrc) 

Instances

Instances details
Eq PushSrc Source # 
Instance details

Defined in GI.GstBase.Objects.PushSrc

Methods

(==) :: PushSrc -> PushSrc -> Bool #

(/=) :: PushSrc -> PushSrc -> Bool #

GObject PushSrc Source # 
Instance details

Defined in GI.GstBase.Objects.PushSrc

ManagedPtrNewtype PushSrc Source # 
Instance details

Defined in GI.GstBase.Objects.PushSrc

TypedObject PushSrc Source # 
Instance details

Defined in GI.GstBase.Objects.PushSrc

Methods

glibType :: IO GType #

HasParentTypes PushSrc Source # 
Instance details

Defined in GI.GstBase.Objects.PushSrc

IsGValue (Maybe PushSrc) Source #

Convert PushSrc to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.GstBase.Objects.PushSrc

type ParentTypes PushSrc Source # 
Instance details

Defined in GI.GstBase.Objects.PushSrc

class (GObject o, IsDescendantOf PushSrc o) => IsPushSrc o Source #

Type class for types which can be safely cast to PushSrc, for instance with toPushSrc.

Instances

Instances details
(GObject o, IsDescendantOf PushSrc o) => IsPushSrc o Source # 
Instance details

Defined in GI.GstBase.Objects.PushSrc

toPushSrc :: (MonadIO m, IsPushSrc o) => o -> m PushSrc Source #

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

Methods

Click to display all available methods, including inherited ones

Expand

Methods

abortState, addControlBinding, addPad, addPropertyDeepNotifyWatch, addPropertyNotifyWatch, bindProperty, bindPropertyFull, callAsync, changeState, continueState, createAllPads, defaultError, forceFloating, foreachPad, foreachSinkPad, foreachSrcPad, freezeNotify, getv, hasActiveControlBindings, hasAncestor, hasAsAncestor, hasAsParent, isAsync, isFloating, isLive, isLockedState, iteratePads, iterateSinkPads, iterateSrcPads, link, linkFiltered, linkPads, linkPadsFiltered, linkPadsFull, lostState, messageFull, messageFullWithDetails, negotiate, newSeamlessSegment, newSegment, noMorePads, notify, notifyByPspec, postMessage, provideClock, query, queryConvert, queryDuration, queryLatency, queryPosition, ref, refSink, releaseRequestPad, removeControlBinding, removePad, removePropertyNotifyWatch, requestPad, requestPadSimple, runDispose, seek, seekSimple, sendEvent, startComplete, startWait, stealData, stealQdata, submitBufferList, suggestNextSync, syncStateWithParent, syncValues, thawNotify, unlink, unlinkPads, unparent, unref, waitPlaying, watchClosure.

Getters

getAllocator, getBaseTime, getBlocksize, getBufferPool, getBus, getClock, getCompatiblePad, getCompatiblePadTemplate, getContext, getContextUnlocked, getContexts, getControlBinding, getControlRate, getCurrentClockTime, getCurrentRunningTime, getData, getDoTimestamp, getFactory, getGValueArray, getMetadata, getName, getPadTemplate, getPadTemplateList, getParent, getPathString, getProperty, getQdata, getRequestPad, getStartTime, getState, getStaticPad, getValue.

Setters

setAsync, setAutomaticEos, setBaseTime, setBlocksize, setBus, setCaps, setClock, setContext, setControlBindingDisabled, setControlBindingsDisabled, setControlRate, setData, setDataFull, setDoTimestamp, setDynamicSize, setFormat, setLive, setLockedState, setName, setParent, setProperty, setStartTime, setState.