Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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, IsDescendantOf DiscovererStreamInfo o) => IsDiscovererStreamInfo o
- toDiscovererStreamInfo :: (MonadIO m, IsDiscovererStreamInfo o) => o -> m 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.
DiscovererStreamInfo (ManagedPtr DiscovererStreamInfo) |
Instances
class (GObject o, IsDescendantOf DiscovererStreamInfo o) => IsDiscovererStreamInfo o Source #
Type class for types which can be safely cast to DiscovererStreamInfo
, for instance with toDiscovererStreamInfo
.
Instances
(GObject o, IsDescendantOf DiscovererStreamInfo o) => IsDiscovererStreamInfo o Source # | |
Defined in GI.GstPbutils.Objects.DiscovererStreamInfo |
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
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getCaps, getData, getMisc, getNext, getPrevious, getProperty, getQdata, getStreamId, getStreamTypeNick, getTags, getToc.
Setters
getCaps
discovererStreamInfoGetCaps Source #
:: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) | |
=> a |
|
-> m Caps | Returns: the |
No description available in the introspection data.
getMisc
discovererStreamInfoGetMisc Source #
:: (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 #
:: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) | |
=> a |
|
-> m DiscovererStreamInfo | Returns: the next |
No description available in the introspection data.
getPrevious
discovererStreamInfoGetPrevious Source #
:: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) | |
=> a |
|
-> m DiscovererStreamInfo | Returns: the previous |
No description available in the introspection data.
getStreamId
discovererStreamInfoGetStreamId Source #
:: (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 #
:: (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 #
:: (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 #
:: (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 #
:: (HasCallStack, MonadIO m, IsDiscovererStreamInfo a) | |
=> [a] |
|
-> m () |
Decrements the reference count of all contained DiscovererStreamInfo
and fress the List
.