Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Outputs the video stream from a given file as a still frame. The frame chosen will be determined by the in-point property on the track element. For image files, do not set the in-point property.
Synopsis
- newtype ImageSource = ImageSource (ManagedPtr ImageSource)
- class (GObject o, IsDescendantOf ImageSource o) => IsImageSource o
- toImageSource :: (MonadIO m, IsImageSource o) => o -> m ImageSource
- constructImageSourceUri :: (IsImageSource o, MonadIO m) => Text -> m (GValueConstruct o)
- getImageSourceUri :: (MonadIO m, IsImageSource o) => o -> m (Maybe Text)
Exported types
newtype ImageSource Source #
Memory-managed wrapper type.
ImageSource (ManagedPtr ImageSource) |
Instances
Eq ImageSource Source # | |
Defined in GI.GES.Objects.ImageSource (==) :: ImageSource -> ImageSource -> Bool # (/=) :: ImageSource -> ImageSource -> Bool # | |
GObject ImageSource Source # | |
Defined in GI.GES.Objects.ImageSource | |
ManagedPtrNewtype ImageSource Source # | |
Defined in GI.GES.Objects.ImageSource toManagedPtr :: ImageSource -> ManagedPtr ImageSource | |
TypedObject ImageSource Source # | |
Defined in GI.GES.Objects.ImageSource | |
HasParentTypes ImageSource Source # | |
Defined in GI.GES.Objects.ImageSource | |
IsGValue (Maybe ImageSource) Source # | Convert |
Defined in GI.GES.Objects.ImageSource gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe ImageSource -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe ImageSource) | |
type ParentTypes ImageSource Source # | |
Defined in GI.GES.Objects.ImageSource type ParentTypes ImageSource = '[VideoSource, Source, TrackElement, TimelineElement, Object, Extractable, MetaContainer] |
class (GObject o, IsDescendantOf ImageSource o) => IsImageSource o Source #
Type class for types which can be safely cast to ImageSource
, for instance with toImageSource
.
Instances
(GObject o, IsDescendantOf ImageSource o) => IsImageSource o Source # | |
Defined in GI.GES.Objects.ImageSource |
toImageSource :: (MonadIO m, IsImageSource o) => o -> m ImageSource Source #
Cast to ImageSource
, 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
Methods
addChildProperty, addChildrenProps, addMetasFromString, bindProperty, bindPropertyFull, checkMetaRegistered, clampControlSource, copy, edit, editFull, forceFloating, foreach, freezeNotify, getv, hasInternalSource, isActive, isCore, isFloating, listChildrenProperties, lookupChild, metasToString, notify, notifyByPspec, paste, ref, refSink, registerMeta, registerMetaBoolean, registerMetaDate, registerMetaDateTime, registerMetaDouble, registerMetaFloat, registerMetaInt, registerMetaInt64, registerMetaString, registerMetaUint, registerMetaUint64, registerStaticMeta, removeChildProperty, removeControlBinding, ripple, rippleEnd, rollEnd, rollStart, runDispose, stealData, stealQdata, thawNotify, trim, unref, watchClosure.
Getters
getAllControlBindings, getAsset, getAutoClampControlSources, getBoolean, getChildProperty, getChildPropertyByPspec, getControlBinding, getData, getDate, getDateTime, getDouble, getDuration, getElement, getFloat, getGnlobject, getId, getInpoint, getInt, getInt64, getLayerPriority, getMarkerList, getMaxDuration, getMeta, getName, getNaturalFramerate, getNaturalSize, getNleobject, getParent, getPriority, getProperty, getQdata, getStart, getString, getTimeline, getToplevelParent, getTrack, getTrackType, getTrackTypes, getUint, getUint64.
Setters
setActive, setAsset, setAutoClampControlSources, setBoolean, setChildProperty, setChildPropertyByPspec, setChildPropertyFull, setControlSource, setData, setDataFull, setDate, setDateTime, setDouble, setDuration, setFloat, setHasInternalSource, setInpoint, setInt, setInt64, setMarkerList, setMaxDuration, setMeta, setName, setParent, setPriority, setProperty, setStart, setString, setTimeline, setTrackType, setUint, setUint64.
Properties
uri
The location of the file/resource to use.
constructImageSourceUri :: (IsImageSource o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “uri
” property. This is rarely needed directly, but it is used by new
.
getImageSourceUri :: (MonadIO m, IsImageSource o) => o -> m (Maybe Text) Source #
Get the value of the “uri
” property.
When overloading is enabled, this is equivalent to
get
imageSource #uri