gi-gstpbutils-1.0.28: GStreamer Plugins Base Utils bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.GstPbutils.Objects.EncodingContainerProfile

Description

Encoding profiles for containers. Keeps track of a list of EncodingProfile

Synopsis

Exported types

newtype EncodingContainerProfile Source #

Memory-managed wrapper type.

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

Instances details
(GObject o, IsDescendantOf EncodingContainerProfile o) => IsEncodingContainerProfile o Source # 
Instance details

Defined in GI.GstPbutils.Objects.EncodingContainerProfile

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.

Methods

addProfile

encodingContainerProfileAddProfile Source #

Arguments

:: (HasCallStack, MonadIO m, IsEncodingContainerProfile a, IsEncodingProfile b) 
=> a

container: the EncodingContainerProfile to use

-> b

profile: the EncodingProfile to add.

-> m Bool

Returns: True if the stream was properly added, else False.

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

container: a EncodingContainerProfile

-> b

profile: a EncodingProfile

-> m Bool

Returns: True if container contains a EncodingProfile identical to profile, else False.

Checks if container contains a EncodingProfile identical to profile.

getProfiles

encodingContainerProfileGetProfiles Source #

Arguments

:: (HasCallStack, MonadIO m, IsEncodingContainerProfile a) 
=> a

profile: a EncodingContainerProfile

-> m [EncodingProfile]

Returns: the list of contained EncodingProfile.

No description available in the introspection data.

new

encodingContainerProfileNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Maybe Text

name: The name of the container profile, can be Nothing

-> Maybe Text

description: The description of the container profile, can be Nothing

-> Caps

format: The format to use for this profile

-> Maybe Text

preset: The preset to use for this profile.

-> m EncodingContainerProfile

Returns: The newly created EncodingContainerProfile.