Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
Extra buffer metadata providing Closed Caption.
Since: 1.16
Synopsis
- newtype VideoCaptionMeta = VideoCaptionMeta (ManagedPtr VideoCaptionMeta)
- newZeroVideoCaptionMeta :: MonadIO m => m VideoCaptionMeta
- noVideoCaptionMeta :: Maybe VideoCaptionMeta
- videoCaptionMetaGetInfo :: (HasCallStack, MonadIO m) => m MetaInfo
- getVideoCaptionMetaCaptionType :: MonadIO m => VideoCaptionMeta -> m VideoCaptionType
- setVideoCaptionMetaCaptionType :: MonadIO m => VideoCaptionMeta -> VideoCaptionType -> m ()
- getVideoCaptionMetaMeta :: MonadIO m => VideoCaptionMeta -> m Meta
- getVideoCaptionMetaSize :: MonadIO m => VideoCaptionMeta -> m Word64
- setVideoCaptionMetaSize :: MonadIO m => VideoCaptionMeta -> Word64 -> m ()
Exported types
newtype VideoCaptionMeta Source #
Memory-managed wrapper type.
Instances
WrappedPtr VideoCaptionMeta Source # | |
tag ~ AttrSet => Constructible VideoCaptionMeta tag Source # | |
Defined in GI.GstVideo.Structs.VideoCaptionMeta new :: MonadIO m => (ManagedPtr VideoCaptionMeta -> VideoCaptionMeta) -> [AttrOp VideoCaptionMeta tag] -> m VideoCaptionMeta # |
newZeroVideoCaptionMeta :: MonadIO m => m VideoCaptionMeta Source #
Construct a VideoCaptionMeta
struct initialized to zero.
noVideoCaptionMeta :: Maybe VideoCaptionMeta Source #
A convenience alias for Nothing
:: Maybe
VideoCaptionMeta
.
Methods
getInfo
videoCaptionMetaGetInfo :: (HasCallStack, MonadIO m) => m MetaInfo Source #
No description available in the introspection data.
Properties
captionType
The type of Closed Caption contained in the meta.
getVideoCaptionMetaCaptionType :: MonadIO m => VideoCaptionMeta -> m VideoCaptionType Source #
Get the value of the “caption_type
” field.
When overloading is enabled, this is equivalent to
get
videoCaptionMeta #captionType
setVideoCaptionMetaCaptionType :: MonadIO m => VideoCaptionMeta -> VideoCaptionType -> m () Source #
Set the value of the “caption_type
” field.
When overloading is enabled, this is equivalent to
set
videoCaptionMeta [ #captionType:=
value ]
meta
parent Meta
getVideoCaptionMetaMeta :: MonadIO m => VideoCaptionMeta -> m Meta Source #
Get the value of the “meta
” field.
When overloading is enabled, this is equivalent to
get
videoCaptionMeta #meta
size
The size in bytes of data
getVideoCaptionMetaSize :: MonadIO m => VideoCaptionMeta -> m Word64 Source #
Get the value of the “size
” field.
When overloading is enabled, this is equivalent to
get
videoCaptionMeta #size
setVideoCaptionMetaSize :: MonadIO m => VideoCaptionMeta -> Word64 -> m () Source #
Set the value of the “size
” field.
When overloading is enabled, this is equivalent to
set
videoCaptionMeta [ #size:=
value ]