Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
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
- newtype ProtectionMeta = ProtectionMeta (ManagedPtr ProtectionMeta)
- newZeroProtectionMeta :: MonadIO m => m ProtectionMeta
- protectionMetaGetInfo :: (HasCallStack, MonadIO m) => m MetaInfo
- clearProtectionMetaInfo :: MonadIO m => ProtectionMeta -> m ()
- getProtectionMetaInfo :: MonadIO m => ProtectionMeta -> m (Maybe Structure)
- setProtectionMetaInfo :: MonadIO m => ProtectionMeta -> Ptr Structure -> m ()
- getProtectionMetaMeta :: MonadIO m => ProtectionMeta -> m Meta
Exported types
newtype ProtectionMeta Source #
Memory-managed wrapper type.
ProtectionMeta (ManagedPtr ProtectionMeta) |
Instances
Eq ProtectionMeta Source # | |
Defined in GI.Gst.Structs.ProtectionMeta (==) :: ProtectionMeta -> ProtectionMeta -> Bool (/=) :: ProtectionMeta -> ProtectionMeta -> Bool | |
BoxedPtr ProtectionMeta Source # | |
Defined in GI.Gst.Structs.ProtectionMeta boxedPtrCopy :: ProtectionMeta -> IO ProtectionMeta boxedPtrFree :: ProtectionMeta -> IO () | |
CallocPtr ProtectionMeta Source # | |
Defined in GI.Gst.Structs.ProtectionMeta boxedPtrCalloc :: IO (Ptr ProtectionMeta) | |
ManagedPtrNewtype ProtectionMeta Source # | |
Defined in GI.Gst.Structs.ProtectionMeta toManagedPtr :: ProtectionMeta -> ManagedPtr ProtectionMeta | |
tag ~ 'AttrSet => Constructible ProtectionMeta tag Source # | |
Defined in GI.Gst.Structs.ProtectionMeta 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
Overloaded 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