| 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 |
GI.GstPbutils.Objects.DiscovererInfo
Contents
Description
Structure containing the information of a URI analyzed by Discoverer.
Synopsis
- newtype DiscovererInfo = DiscovererInfo (ManagedPtr DiscovererInfo)
- class (GObject o, IsDescendantOf DiscovererInfo o) => IsDiscovererInfo o
- toDiscovererInfo :: (MonadIO m, IsDiscovererInfo o) => o -> m DiscovererInfo
- noDiscovererInfo :: Maybe DiscovererInfo
- discovererInfoCopy :: (HasCallStack, MonadIO m, IsDiscovererInfo a) => a -> m DiscovererInfo
- discovererInfoFromVariant :: (HasCallStack, MonadIO m) => GVariant -> m DiscovererInfo
- discovererInfoGetAudioStreams :: (HasCallStack, MonadIO m, IsDiscovererInfo a) => a -> m [DiscovererStreamInfo]
- discovererInfoGetContainerStreams :: (HasCallStack, MonadIO m, IsDiscovererInfo a) => a -> m [DiscovererStreamInfo]
- discovererInfoGetDuration :: (HasCallStack, MonadIO m, IsDiscovererInfo a) => a -> m Word64
- discovererInfoGetLive :: (HasCallStack, MonadIO m, IsDiscovererInfo a) => a -> m Bool
- discovererInfoGetMisc :: (HasCallStack, MonadIO m, IsDiscovererInfo a) => a -> m Structure
- discovererInfoGetMissingElementsInstallerDetails :: (HasCallStack, MonadIO m, IsDiscovererInfo a) => a -> m [Text]
- discovererInfoGetResult :: (HasCallStack, MonadIO m, IsDiscovererInfo a) => a -> m DiscovererResult
- discovererInfoGetSeekable :: (HasCallStack, MonadIO m, IsDiscovererInfo a) => a -> m Bool
- discovererInfoGetStreamInfo :: (HasCallStack, MonadIO m, IsDiscovererInfo a) => a -> m DiscovererStreamInfo
- discovererInfoGetStreamList :: (HasCallStack, MonadIO m, IsDiscovererInfo a) => a -> m [DiscovererStreamInfo]
- discovererInfoGetStreams :: (HasCallStack, MonadIO m, IsDiscovererInfo a) => a -> GType -> m [DiscovererStreamInfo]
- discovererInfoGetSubtitleStreams :: (HasCallStack, MonadIO m, IsDiscovererInfo a) => a -> m [DiscovererStreamInfo]
- discovererInfoGetTags :: (HasCallStack, MonadIO m, IsDiscovererInfo a) => a -> m TagList
- discovererInfoGetToc :: (HasCallStack, MonadIO m, IsDiscovererInfo a) => a -> m Toc
- discovererInfoGetUri :: (HasCallStack, MonadIO m, IsDiscovererInfo a) => a -> m Text
- discovererInfoGetVideoStreams :: (HasCallStack, MonadIO m, IsDiscovererInfo a) => a -> m [DiscovererStreamInfo]
- discovererInfoToVariant :: (HasCallStack, MonadIO m, IsDiscovererInfo a) => a -> [DiscovererSerializeFlags] -> m GVariant
Exported types
newtype DiscovererInfo Source #
Memory-managed wrapper type.
Constructors
| DiscovererInfo (ManagedPtr DiscovererInfo) |
Instances
| GObject DiscovererInfo Source # | |
Defined in GI.GstPbutils.Objects.DiscovererInfo Methods gobjectType :: IO GType | |
| HasParentTypes DiscovererInfo Source # | |
Defined in GI.GstPbutils.Objects.DiscovererInfo | |
| type ParentTypes DiscovererInfo Source # | |
Defined in GI.GstPbutils.Objects.DiscovererInfo | |
class (GObject o, IsDescendantOf DiscovererInfo o) => IsDiscovererInfo o Source #
Type class for types which can be safely cast to DiscovererInfo, for instance with toDiscovererInfo.
Instances
| (GObject o, IsDescendantOf DiscovererInfo o) => IsDiscovererInfo o Source # | |
Defined in GI.GstPbutils.Objects.DiscovererInfo | |
toDiscovererInfo :: (MonadIO m, IsDiscovererInfo o) => o -> m DiscovererInfo Source #
Cast to DiscovererInfo, for types for which this is known to be safe. For general casts, use castTo.
noDiscovererInfo :: Maybe DiscovererInfo Source #
A convenience alias for Nothing :: Maybe DiscovererInfo.
Methods
copy
Arguments
| :: (HasCallStack, MonadIO m, IsDiscovererInfo a) | |
| => a |
|
| -> m DiscovererInfo | Returns: A copy of the |
No description available in the introspection data.
fromVariant
discovererInfoFromVariant Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => GVariant |
|
| -> m DiscovererInfo | Returns: A newly-allocated |
Parses a GVariant as produced by discovererInfoToVariant
back to a DiscovererInfo.
Since: 1.6
getAudioStreams
discovererInfoGetAudioStreams Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiscovererInfo a) | |
| => a |
|
| -> m [DiscovererStreamInfo] | Returns: A |
Finds all the DiscovererAudioInfo contained in info
getContainerStreams
discovererInfoGetContainerStreams Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiscovererInfo a) | |
| => a |
|
| -> m [DiscovererStreamInfo] | Returns: A |
Finds all the DiscovererContainerInfo contained in info
getDuration
discovererInfoGetDuration Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiscovererInfo a) | |
| => a |
|
| -> m Word64 | Returns: the duration of the URI in |
No description available in the introspection data.
getLive
discovererInfoGetLive Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiscovererInfo a) | |
| => a |
|
| -> m Bool | Returns: whether the URI is live. |
No description available in the introspection data.
Since: 1.14
getMisc
discovererInfoGetMisc Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiscovererInfo a) | |
| => a |
|
| -> m Structure | Returns: Miscellaneous information stored as a |
Deprecated: This functions is deprecated since version 1.4, usegst_discoverer_info_get_missing_elements_installer_details
No description available in the introspection data.
getMissingElementsInstallerDetails
discovererInfoGetMissingElementsInstallerDetails Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiscovererInfo a) | |
| => a |
|
| -> m [Text] | Returns: An array of strings
containing informations about how to install the various missing elements
for |
Get the installer details for missing elements
Since: 1.4
getResult
discovererInfoGetResult Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiscovererInfo a) | |
| => a |
|
| -> m DiscovererResult | Returns: the result of the discovery as a |
No description available in the introspection data.
getSeekable
discovererInfoGetSeekable Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiscovererInfo a) | |
| => a |
|
| -> m Bool | Returns: the whether the URI is seekable. |
No description available in the introspection data.
getStreamInfo
discovererInfoGetStreamInfo Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiscovererInfo a) | |
| => a |
|
| -> m DiscovererStreamInfo | Returns: the structure (or topology) of the URI as a
|
No description available in the introspection data.
getStreamList
discovererInfoGetStreamList Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiscovererInfo a) | |
| => a |
|
| -> m [DiscovererStreamInfo] | Returns: the list of
all streams contained in the |
No description available in the introspection data.
getStreams
discovererInfoGetStreams Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiscovererInfo a) | |
| => a |
|
| -> GType |
|
| -> m [DiscovererStreamInfo] | Returns: A |
Finds the DiscovererStreamInfo contained in info that match the
given streamtype.
getSubtitleStreams
discovererInfoGetSubtitleStreams Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiscovererInfo a) | |
| => a |
|
| -> m [DiscovererStreamInfo] | Returns: A |
Finds all the DiscovererSubtitleInfo contained in info
getTags
discovererInfoGetTags Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiscovererInfo a) | |
| => a |
|
| -> m TagList | Returns: all tags contained in the URI. If you wish to use
the tags after the life-time of |
No description available in the introspection data.
getToc
Arguments
| :: (HasCallStack, MonadIO m, IsDiscovererInfo a) | |
| => a |
|
| -> m Toc | Returns: TOC contained in the URI. If you wish to use
the TOC after the life-time of |
No description available in the introspection data.
getUri
Arguments
| :: (HasCallStack, MonadIO m, IsDiscovererInfo a) | |
| => a |
|
| -> m Text | Returns: the URI to which this information corresponds to.
Copy it if you wish to use it after the life-time of |
No description available in the introspection data.
getVideoStreams
discovererInfoGetVideoStreams Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiscovererInfo a) | |
| => a |
|
| -> m [DiscovererStreamInfo] | Returns: A |
Finds all the DiscovererVideoInfo contained in info
toVariant
discovererInfoToVariant Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDiscovererInfo a) | |
| => a |
|
| -> [DiscovererSerializeFlags] |
|
| -> m GVariant | Returns: A newly-allocated |
Serializes info to a GVariant that can be parsed again
through discovererInfoFromVariant.
Note that any Toc (s) that might have been discovered will not be serialized
for now.
Since: 1.6