Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
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.
Exported types
GObject PushSrc Source # | |
IsObject PushSrc Source # | |
IsElement PushSrc Source # | |
IsObject PushSrc Source # | |
IsBaseSrc PushSrc Source # | |
IsPushSrc PushSrc Source # | |
((~) * info (ResolvePushSrcMethod t PushSrc), MethodInfo * info PushSrc p) => IsLabel t (PushSrc -> p) Source # | |
((~) * info (ResolvePushSrcMethod t PushSrc), MethodInfo * info PushSrc p) => IsLabelProxy t (PushSrc -> p) Source # | |
HasAttributeList * PushSrc Source # | |
type AttributeList PushSrc Source # | |
type SignalList PushSrc Source # | |