gi-gstvideo-1.0.22: GStreamerVideo bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
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

Methods

Overloaded methods

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 ]