gi-gst-1.0.11: GStreamer bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gst.Structs.StaticCaps

Contents

Description

Datastructure to initialize Caps from a string description usually used in conjunction with GST_STATIC_CAPS() and staticCapsGet to instantiate a Caps.

Synopsis

Exported types

newZeroStaticCaps :: MonadIO m => m StaticCaps Source #

Construct a StaticCaps struct initialized to zero.

Methods

cleanup

staticCapsCleanup Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> StaticCaps

staticCaps: the StaticCaps to clean

-> m () 

Clean up the cached caps contained in staticCaps.

get

staticCapsGet Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> StaticCaps

staticCaps: the StaticCaps to convert

-> m Caps

Returns: a pointer to the Caps. Unref after usage. Since the core holds an additional ref to the returned caps, use gst_caps_make_writable() on the returned caps to modify it.

Converts a StaticCaps to a Caps.

Properties

caps

string