gi-gstbase-1.0.16: GStreamerBase 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.GstBase.Objects.PushSrc

Contents

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
GObject PushSrc Source # 
Instance details

Defined in GI.GstBase.Objects.PushSrc

IsObject PushSrc Source # 
Instance details

Defined in GI.GstBase.Objects.PushSrc

IsObject PushSrc Source # 
Instance details

Defined in GI.GstBase.Objects.PushSrc

IsElement PushSrc Source # 
Instance details

Defined in GI.GstBase.Objects.PushSrc

IsBaseSrc PushSrc Source # 
Instance details

Defined in GI.GstBase.Objects.PushSrc

IsPushSrc PushSrc Source # 
Instance details

Defined in GI.GstBase.Objects.PushSrc

class GObject o => IsPushSrc o Source #

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

Instances
(GObject a, (UnknownAncestorError PushSrc a :: Constraint)) => IsPushSrc a Source # 
Instance details

Defined in GI.GstBase.Objects.PushSrc

IsPushSrc PushSrc 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.

noPushSrc :: Maybe PushSrc Source #

A convenience alias for Nothing :: Maybe PushSrc.