gi-gst-1.0.20: 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.ProtectionMeta

Contents

Description

Metadata type that holds information about a sample from a protection-protected track, including the information needed to decrypt it (if it is encrypted).

Since: 1.6

Synopsis

Exported types

newtype ProtectionMeta Source #

Memory-managed wrapper type.

Constructors

ProtectionMeta (ManagedPtr ProtectionMeta) 
Instances
WrappedPtr ProtectionMeta Source # 
Instance details

Defined in GI.Gst.Structs.ProtectionMeta

tag ~ AttrSet => Constructible ProtectionMeta tag Source # 
Instance details

Defined in GI.Gst.Structs.ProtectionMeta

Methods

new :: MonadIO m => (ManagedPtr ProtectionMeta -> ProtectionMeta) -> [AttrOp ProtectionMeta tag] -> m ProtectionMeta

newZeroProtectionMeta :: MonadIO m => m ProtectionMeta Source #

Construct a ProtectionMeta struct initialized to zero.

Methods

getInfo

protectionMetaGetInfo :: (HasCallStack, MonadIO m) => m MetaInfo Source #

No description available in the introspection data.

Properties

info

the cryptographic information needed to decrypt the sample.

clearProtectionMetaInfo :: MonadIO m => ProtectionMeta -> m () Source #

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

clear #info

getProtectionMetaInfo :: MonadIO m => ProtectionMeta -> m (Maybe Structure) Source #

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

get protectionMeta #info

setProtectionMetaInfo :: MonadIO m => ProtectionMeta -> Ptr Structure -> m () Source #

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

set protectionMeta [ #info := value ]

meta

the parent Meta.

getProtectionMetaMeta :: MonadIO m => ProtectionMeta -> m Meta Source #

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

get protectionMeta #meta