gi-gstvideo-1.0.29: GStreamerVideo bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.GstVideo.Structs.VideoTimeCodeInterval

Description

A representation of a difference between two VideoTimeCode instances. Will not necessarily correspond to a real timecode (e.g. 00:00:10;00)

Since: 1.12

Synopsis

Exported types

newtype VideoTimeCodeInterval Source #

Memory-managed wrapper type.

Constructors

VideoTimeCodeInterval (ManagedPtr VideoTimeCodeInterval) 

Instances

Instances details
Eq VideoTimeCodeInterval Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoTimeCodeInterval

GBoxed VideoTimeCodeInterval Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoTimeCodeInterval

ManagedPtrNewtype VideoTimeCodeInterval Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoTimeCodeInterval

TypedObject VideoTimeCodeInterval Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoTimeCodeInterval

Methods

glibType :: IO GType

HasParentTypes VideoTimeCodeInterval Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoTimeCodeInterval

tag ~ 'AttrSet => Constructible VideoTimeCodeInterval tag Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoTimeCodeInterval

IsGValue (Maybe VideoTimeCodeInterval) Source #

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

Instance details

Defined in GI.GstVideo.Structs.VideoTimeCodeInterval

type ParentTypes VideoTimeCodeInterval Source # 
Instance details

Defined in GI.GstVideo.Structs.VideoTimeCodeInterval

type ParentTypes VideoTimeCodeInterval = '[] :: [Type]

Methods

Click to display all available methods, including inherited ones

Expand

Methods

clear, copy, free, init.

Getters

None.

Setters

None.

clear

videoTimeCodeIntervalClear Source #

Initializes tc with empty/zero/NULL values.

Since: 1.12

copy

videoTimeCodeIntervalCopy Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoTimeCodeInterval

tc: a VideoTimeCodeInterval

-> m VideoTimeCodeInterval

Returns: a new VideoTimeCodeInterval with the same values as tc.

No description available in the introspection data.

Since: 1.12

free

init

videoTimeCodeIntervalInit Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> VideoTimeCodeInterval

tc: a VideoTimeCodeInterval

-> Word32

hours: the hours field of VideoTimeCodeInterval

-> Word32

minutes: the minutes field of VideoTimeCodeInterval

-> Word32

seconds: the seconds field of VideoTimeCodeInterval

-> Word32

frames: the frames field of VideoTimeCodeInterval

-> m () 

Initializes tc with the given values.

Since: 1.12

new

videoTimeCodeIntervalNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Word32

hours: the hours field of VideoTimeCodeInterval

-> Word32

minutes: the minutes field of VideoTimeCodeInterval

-> Word32

seconds: the seconds field of VideoTimeCodeInterval

-> Word32

frames: the frames field of VideoTimeCodeInterval

-> m VideoTimeCodeInterval

Returns: a new VideoTimeCodeInterval with the given values.

No description available in the introspection data.

Since: 1.12

newFromString

videoTimeCodeIntervalNewFromString Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Text

tcInterStr: The string that represents the VideoTimeCodeInterval

-> m (Maybe VideoTimeCodeInterval)

Returns: a new VideoTimeCodeInterval from the given string or Nothing if the string could not be passed.

tcInterStr must only have ":" as separators.

Since: 1.12

Properties

frames

the frames field of VideoTimeCodeInterval

getVideoTimeCodeIntervalFrames :: MonadIO m => VideoTimeCodeInterval -> m Word32 Source #

Get the value of the “frames” field. When overloading is enabled, this is equivalent to

get videoTimeCodeInterval #frames

setVideoTimeCodeIntervalFrames :: MonadIO m => VideoTimeCodeInterval -> Word32 -> m () Source #

Set the value of the “frames” field. When overloading is enabled, this is equivalent to

set videoTimeCodeInterval [ #frames := value ]

hours

the hours field of VideoTimeCodeInterval

getVideoTimeCodeIntervalHours :: MonadIO m => VideoTimeCodeInterval -> m Word32 Source #

Get the value of the “hours” field. When overloading is enabled, this is equivalent to

get videoTimeCodeInterval #hours

setVideoTimeCodeIntervalHours :: MonadIO m => VideoTimeCodeInterval -> Word32 -> m () Source #

Set the value of the “hours” field. When overloading is enabled, this is equivalent to

set videoTimeCodeInterval [ #hours := value ]

minutes

the minutes field of VideoTimeCodeInterval

getVideoTimeCodeIntervalMinutes :: MonadIO m => VideoTimeCodeInterval -> m Word32 Source #

Get the value of the “minutes” field. When overloading is enabled, this is equivalent to

get videoTimeCodeInterval #minutes

setVideoTimeCodeIntervalMinutes :: MonadIO m => VideoTimeCodeInterval -> Word32 -> m () Source #

Set the value of the “minutes” field. When overloading is enabled, this is equivalent to

set videoTimeCodeInterval [ #minutes := value ]

seconds

the seconds field of VideoTimeCodeInterval

getVideoTimeCodeIntervalSeconds :: MonadIO m => VideoTimeCodeInterval -> m Word32 Source #

Get the value of the “seconds” field. When overloading is enabled, this is equivalent to

get videoTimeCodeInterval #seconds

setVideoTimeCodeIntervalSeconds :: MonadIO m => VideoTimeCodeInterval -> Word32 -> m () Source #

Set the value of the “seconds” field. When overloading is enabled, this is equivalent to

set videoTimeCodeInterval [ #seconds := value ]