Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
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
Memory-managed wrapper type.
Instances
Eq PushSrc Source # | |
GObject PushSrc Source # | |
Defined in GI.GstBase.Objects.PushSrc | |
ManagedPtrNewtype PushSrc Source # | |
Defined in GI.GstBase.Objects.PushSrc toManagedPtr :: PushSrc -> ManagedPtr PushSrc | |
TypedObject PushSrc Source # | |
Defined in GI.GstBase.Objects.PushSrc glibType :: IO GType | |
IsGValue PushSrc Source # | Convert |
Defined in GI.GstBase.Objects.PushSrc toGValue :: PushSrc -> IO GValue fromGValue :: GValue -> IO PushSrc | |
HasParentTypes PushSrc Source # | |
Defined in GI.GstBase.Objects.PushSrc | |
type ParentTypes PushSrc Source # | |
Defined in GI.GstBase.Objects.PushSrc |
class (GObject o, IsDescendantOf PushSrc o) => IsPushSrc o Source #
Instances
(GObject o, IsDescendantOf PushSrc o) => IsPushSrc o Source # | |
Defined in GI.GstBase.Objects.PushSrc |