gi-ges-1.0.4: libges bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.GES.Objects.VideoSource

Description

Base class for video sources

Synopsis

Exported types

newtype VideoSource Source #

Memory-managed wrapper type.

Constructors

VideoSource (ManagedPtr VideoSource) 

Instances

Instances details
Eq VideoSource Source # 
Instance details

Defined in GI.GES.Objects.VideoSource

GObject VideoSource Source # 
Instance details

Defined in GI.GES.Objects.VideoSource

ManagedPtrNewtype VideoSource Source # 
Instance details

Defined in GI.GES.Objects.VideoSource

Methods

toManagedPtr :: VideoSource -> ManagedPtr VideoSource

TypedObject VideoSource Source # 
Instance details

Defined in GI.GES.Objects.VideoSource

Methods

glibType :: IO GType

HasParentTypes VideoSource Source # 
Instance details

Defined in GI.GES.Objects.VideoSource

IsGValue (Maybe VideoSource) Source #

Convert VideoSource to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.GES.Objects.VideoSource

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe VideoSource -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe VideoSource)

type ParentTypes VideoSource Source # 
Instance details

Defined in GI.GES.Objects.VideoSource

class (GObject o, IsDescendantOf VideoSource o) => IsVideoSource o Source #

Type class for types which can be safely cast to VideoSource, for instance with toVideoSource.

Instances

Instances details
(GObject o, IsDescendantOf VideoSource o) => IsVideoSource o Source # 
Instance details

Defined in GI.GES.Objects.VideoSource

toVideoSource :: (MonadIO m, IsVideoSource o) => o -> m VideoSource Source #

Cast to VideoSource, 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

Expand

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.

getNaturalSize

videoSourceGetNaturalSize Source #

Arguments

:: (HasCallStack, MonadIO m, IsVideoSource a) 
=> a

self: A VideoSource

-> m (Bool, Int32, Int32)

Returns: True if the object has a natural size, False otherwise.

Retrieves the natural size of the video stream. The natural size, is the size at which it will be displayed if no scaling is being applied.

NOTE: The sources take into account the potential video rotation applied by the videoflip element that is inside the source, effects applied on the clip which potentially also rotate the element are not taken into account.

Since: 1.18