gi-gst-1.0.21: GStreamer bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.Gst.Structs.ReferenceTimestampMeta

Contents

Description

ReferenceTimestampMeta can be used to attach alternative timestamps and possibly durations to a Buffer. These are generally not according to the pipeline clock and could be e.g. the NTP timestamp when the media was captured.

The reference is stored as a Caps in reference. Examples of valid references would be "timestamp/x-drivername-stream" for timestamps that are locally generated by some driver named "drivername" when generating the stream, e.g. based on a frame counter, or "timestamp/x-ntp, host=pool.ntp.org, port=123" for timestamps based on a specific NTP server.

Since: 1.14

Synopsis

Exported types

Methods

getInfo

referenceTimestampMetaGetInfo Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m MetaInfo

Returns: The MetaInfo

Get the global MetaInfo describing the ReferenceTimestampMeta meta.

Since: 1.14

Properties

duration

duration, or CLOCK_TIME_NONE

getReferenceTimestampMetaDuration :: MonadIO m => ReferenceTimestampMeta -> m Word64 Source #

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

get referenceTimestampMeta #duration

setReferenceTimestampMetaDuration :: MonadIO m => ReferenceTimestampMeta -> Word64 -> m () Source #

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

set referenceTimestampMeta [ #duration := value ]

parent

the parent Meta structure

getReferenceTimestampMetaParent :: MonadIO m => ReferenceTimestampMeta -> m Meta Source #

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

get referenceTimestampMeta #parent

reference

identifier for the timestamp reference.

clearReferenceTimestampMetaReference :: MonadIO m => ReferenceTimestampMeta -> m () Source #

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

clear #reference

getReferenceTimestampMetaReference :: MonadIO m => ReferenceTimestampMeta -> m (Maybe Caps) Source #

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

get referenceTimestampMeta #reference

setReferenceTimestampMetaReference :: MonadIO m => ReferenceTimestampMeta -> Ptr Caps -> m () Source #

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

set referenceTimestampMeta [ #reference := value ]

timestamp

timestamp

getReferenceTimestampMetaTimestamp :: MonadIO m => ReferenceTimestampMeta -> m Word64 Source #

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

get referenceTimestampMeta #timestamp

setReferenceTimestampMetaTimestamp :: MonadIO m => ReferenceTimestampMeta -> Word64 -> m () Source #

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

set referenceTimestampMeta [ #timestamp := value ]