| 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.EncodingContainerProfile
Description
Encoding profiles for containers. Keeps track of a list of EncodingProfile
Synopsis
- newtype EncodingContainerProfile = EncodingContainerProfile (ManagedPtr EncodingContainerProfile)
- class (GObject o, IsDescendantOf EncodingContainerProfile o) => IsEncodingContainerProfile o
- toEncodingContainerProfile :: (MonadIO m, IsEncodingContainerProfile o) => o -> m EncodingContainerProfile
- noEncodingContainerProfile :: Maybe EncodingContainerProfile
- encodingContainerProfileAddProfile :: (HasCallStack, MonadIO m, IsEncodingContainerProfile a, IsEncodingProfile b) => a -> b -> m Bool
- encodingContainerProfileContainsProfile :: (HasCallStack, MonadIO m, IsEncodingContainerProfile a, IsEncodingProfile b) => a -> b -> m Bool
- encodingContainerProfileGetProfiles :: (HasCallStack, MonadIO m, IsEncodingContainerProfile a) => a -> m [EncodingProfile]
- encodingContainerProfileNew :: (HasCallStack, MonadIO m) => Maybe Text -> Maybe Text -> Caps -> Maybe Text -> m EncodingContainerProfile
Exported types
newtype EncodingContainerProfile Source #
Memory-managed wrapper type.
Constructors
| EncodingContainerProfile (ManagedPtr EncodingContainerProfile) |
Instances
| GObject EncodingContainerProfile Source # | |
Defined in GI.GstPbutils.Objects.EncodingContainerProfile Methods gobjectType :: IO GType | |
| HasParentTypes EncodingContainerProfile Source # | |
| type ParentTypes EncodingContainerProfile Source # | |
class (GObject o, IsDescendantOf EncodingContainerProfile o) => IsEncodingContainerProfile o Source #
Type class for types which can be safely cast to EncodingContainerProfile, for instance with toEncodingContainerProfile.
Instances
| (GObject o, IsDescendantOf EncodingContainerProfile o) => IsEncodingContainerProfile o Source # | |
toEncodingContainerProfile :: (MonadIO m, IsEncodingContainerProfile o) => o -> m EncodingContainerProfile Source #
Cast to EncodingContainerProfile, for types for which this is known to be safe. For general casts, use castTo.
noEncodingContainerProfile :: Maybe EncodingContainerProfile Source #
A convenience alias for Nothing :: Maybe EncodingContainerProfile.
Methods
addProfile
encodingContainerProfileAddProfile Source #
Arguments
| :: (HasCallStack, MonadIO m, IsEncodingContainerProfile a, IsEncodingProfile b) | |
| => a |
|
| -> b |
|
| -> m Bool |
Add a EncodingProfile to the list of profiles handled by container.
No copy of profile will be made, if you wish to use it elsewhere after this
method you should increment its reference count.
containsProfile
encodingContainerProfileContainsProfile Source #
Arguments
| :: (HasCallStack, MonadIO m, IsEncodingContainerProfile a, IsEncodingProfile b) | |
| => a |
|
| -> b |
|
| -> m Bool | Returns: |
Checks if container contains a EncodingProfile identical to
profile.
getProfiles
encodingContainerProfileGetProfiles Source #
Arguments
| :: (HasCallStack, MonadIO m, IsEncodingContainerProfile a) | |
| => a |
|
| -> m [EncodingProfile] | Returns:
the list of contained |
No description available in the introspection data.
new
encodingContainerProfileNew Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => Maybe Text |
|
| -> Maybe Text |
|
| -> Caps |
|
| -> Maybe Text |
|
| -> m EncodingContainerProfile | Returns: The newly created |
Creates a new EncodingContainerProfile.