gi-gstbase-1.0.18: GStreamerBase bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
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

Methods

gobjectType :: IO GType #

HasParentTypes PushSrc Source # 
Instance details

Defined in GI.GstBase.Objects.PushSrc

type ParentTypes PushSrc Source # 
Instance details

Defined in GI.GstBase.Objects.PushSrc

type ParentTypes PushSrc = BaseSrc ': (Element ': (Object ': (Object ': ([] :: [Type]))))

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
(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.

noPushSrc :: Maybe PushSrc Source #

A convenience alias for Nothing :: Maybe PushSrc.