| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.GstPbutils.Objects.DiscovererStreamInfo
Contents
Description
Base structure for information concerning a media stream. Depending on the
stream type, one can find more media-specific information in
DiscovererAudioInfo, DiscovererVideoInfo, and
DiscovererContainerInfo.
The DiscovererStreamInfo represents the topology of the stream. Siblings
can be iterated over with discovererStreamInfoGetNext and
discovererStreamInfoGetPrevious. Children (sub-streams) of a
stream can be accessed using the DiscovererContainerInfo API.
As a simple example, if you run Discoverer on an AVI file with one audio
and one video stream, you will get a DiscovererContainerInfo
corresponding to the AVI container, which in turn will have a
DiscovererAudioInfo sub-stream and a DiscovererVideoInfo sub-stream
for the audio and video streams respectively.
Synopsis
- newtype DiscovererStreamInfo = DiscovererStreamInfo (ManagedPtr DiscovererStreamInfo)
- class GObject o => IsDiscovererStreamInfo o
- toDiscovererStreamInfo :: (MonadIO m, IsDiscovererStreamInfo o) => o -> m DiscovererStreamInfo
- noDiscovererStreamInfo :: Maybe DiscovererStreamInfo
- discovererStreamInfoGetCaps :: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) => a -> m Caps
- discovererStreamInfoGetMisc :: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) => a -> m Structure
- discovererStreamInfoGetNext :: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) => a -> m DiscovererStreamInfo
- discovererStreamInfoGetPrevious :: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) => a -> m DiscovererStreamInfo
- discovererStreamInfoGetStreamId :: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) => a -> m Text
- discovererStreamInfoGetStreamTypeNick :: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) => a -> m Text
- discovererStreamInfoGetTags :: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) => a -> m TagList
- discovererStreamInfoGetToc :: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) => a -> m Toc
- discovererStreamInfoListFree :: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) => [a] -> m ()
Exported types
newtype DiscovererStreamInfo Source #
Memory-managed wrapper type.
Constructors
| DiscovererStreamInfo (ManagedPtr DiscovererStreamInfo) |
Instances
class GObject o => IsDiscovererStreamInfo o Source #
Type class for types which can be safely cast to DiscovererStreamInfo, for instance with toDiscovererStreamInfo.
Instances
toDiscovererStreamInfo :: (MonadIO m, IsDiscovererStreamInfo o) => o -> m DiscovererStreamInfo Source #
Cast to DiscovererStreamInfo, for types for which this is known to be safe. For general casts, use castTo.
noDiscovererStreamInfo :: Maybe DiscovererStreamInfo Source #
A convenience alias for Nothing :: Maybe DiscovererStreamInfo.
Methods
getCaps
discovererStreamInfoGetCaps Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) | |
| => a |
|
| -> m Caps | Returns: the |
No description available in the introspection data.
getMisc
discovererStreamInfoGetMisc Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) | |
| => a |
|
| -> m Structure | Returns: additional information regarding the stream (for
example codec version, profile, etc..). If you wish to use the |
Deprecated: This functions is deprecated since version 1.4, usegst_discoverer_info_get_missing_elements_installer_details
No description available in the introspection data.
getNext
discovererStreamInfoGetNext Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) | |
| => a |
|
| -> m DiscovererStreamInfo | Returns: the next |
No description available in the introspection data.
getPrevious
discovererStreamInfoGetPrevious Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) | |
| => a |
|
| -> m DiscovererStreamInfo | Returns: the previous |
No description available in the introspection data.
getStreamId
discovererStreamInfoGetStreamId Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) | |
| => a |
|
| -> m Text | Returns: the stream ID of this stream. If you wish to
use the stream ID after the life-time of |
No description available in the introspection data.
getStreamTypeNick
discovererStreamInfoGetStreamTypeNick Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) | |
| => a |
|
| -> m Text | Returns: a human readable name for the stream type of the given |
No description available in the introspection data.
getTags
discovererStreamInfoGetTags Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) | |
| => a |
|
| -> m TagList | Returns: the tags contained in this stream. If you wish to
use the tags after the life-time of |
No description available in the introspection data.
getToc
discovererStreamInfoGetToc Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) | |
| => a |
|
| -> m Toc | Returns: the TOC contained in this stream. If you wish to
use the TOC after the life-time of |
No description available in the introspection data.
listFree
discovererStreamInfoListFree Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) | |
| => [a] |
|
| -> m () |
Decrements the reference count of all contained DiscovererStreamInfo
and fress the List.