Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- 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.
Instances
Eq DiscovererInfo Source # | |
Defined in GI.GstPbutils.Objects.DiscovererInfo (==) :: DiscovererInfo -> DiscovererInfo -> Bool # (/=) :: DiscovererInfo -> DiscovererInfo -> Bool # | |
GObject DiscovererInfo Source # | |
Defined in GI.GstPbutils.Objects.DiscovererInfo | |
ManagedPtrNewtype DiscovererInfo Source # | |
Defined in GI.GstPbutils.Objects.DiscovererInfo | |
TypedObject DiscovererInfo Source # | |
Defined in GI.GstPbutils.Objects.DiscovererInfo | |
HasParentTypes DiscovererInfo Source # | |
Defined in GI.GstPbutils.Objects.DiscovererInfo | |
IsGValue (Maybe DiscovererInfo) Source # | Convert |
Defined in GI.GstPbutils.Objects.DiscovererInfo gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe DiscovererInfo -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe 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
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, copy, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, toVariant, unref, watchClosure.
Getters
getAudioStreams, getContainerStreams, getData, getDuration, getLive, getMisc, getMissingElementsInstallerDetails, getProperty, getQdata, getResult, getSeekable, getStreamInfo, getStreamList, getStreams, getSubtitleStreams, getTags, getToc, getUri, getVideoStreams.
Setters
copy
:: (HasCallStack, MonadIO m, IsDiscovererInfo a) | |
=> a |
|
-> m DiscovererInfo | Returns: A copy of the |
No description available in the introspection data.
fromVariant
discovererInfoFromVariant Source #
:: (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 #
:: (HasCallStack, MonadIO m, IsDiscovererInfo a) | |
=> a |
|
-> m [DiscovererStreamInfo] | Returns: A |
Finds all the DiscovererAudioInfo
contained in info
getContainerStreams
discovererInfoGetContainerStreams Source #
:: (HasCallStack, MonadIO m, IsDiscovererInfo a) | |
=> a |
|
-> m [DiscovererStreamInfo] | Returns: A |
Finds all the DiscovererContainerInfo
contained in info
getDuration
discovererInfoGetDuration Source #
:: (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 #
:: (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 #
:: (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 #
:: (HasCallStack, MonadIO m, IsDiscovererInfo a) | |
=> a |
|
-> m [Text] | Returns: An array of strings
containing information about how to install the various missing elements
for |
Get the installer details for missing elements
Since: 1.4
getResult
discovererInfoGetResult Source #
:: (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 #
:: (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 #
:: (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 #
:: (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 #
:: (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 #
:: (HasCallStack, MonadIO m, IsDiscovererInfo a) | |
=> a |
|
-> m [DiscovererStreamInfo] | Returns: A |
Finds all the DiscovererSubtitleInfo
contained in info
getTags
discovererInfoGetTags Source #
:: (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
:: (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
:: (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 #
:: (HasCallStack, MonadIO m, IsDiscovererInfo a) | |
=> a |
|
-> m [DiscovererStreamInfo] | Returns: A |
Finds all the DiscovererVideoInfo
contained in info
toVariant
discovererInfoToVariant Source #
:: (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