gstreamer-0.12.1.2: Binding to the GStreamer open source multimedia framework.

Maintainer | gtk2hs-devel@lists.sourceforge.net Stability : alpha Portability : portable (depends on GHC)
Safe Haskell | None

Media.Streaming.GStreamer.Core.Structure

Description

# Documentation

data Structure

structureEmpty :: String -> Structure

structureToString :: Structure -> String

structureFromString :: String -> (Maybe Structure, Int)

structureName :: Structure -> String

structureHasName :: Structure -> String -> Bool

structureGetBool :: Structure -> String -> Maybe Bool

structureGetInt :: Structure -> String -> Maybe Int

structureGetFourCC :: Structure -> String -> Maybe FourCC

structureGetDouble :: Structure -> String -> Maybe Double

structureGetString :: Structure -> String -> Maybe String

structureGetDate :: Structure -> String -> Maybe GDate

structureGetClockTime :: Structure -> String -> Maybe ClockTime

structureGetFraction :: Structure -> String -> Maybe Fraction

data StructureM a

Instances

Monad StructureM |

structureCreate :: String -> StructureM a -> (Structure, a)

structureModify :: Structure -> StructureM a -> (Structure, a)

structureSetNameM :: String -> StructureM ()

structureRemoveFieldM :: String -> StructureM ()

structureSetBoolM :: String -> Bool -> StructureM ()

structureSetIntM :: String -> Int -> StructureM ()

structureSetFourCCM :: String -> FourCC -> StructureM ()

structureSetDoubleM :: String -> Double -> StructureM ()

structureSetStringM :: String -> String -> StructureM ()

structureSetDateM :: String -> GDate -> StructureM ()

structureSetClockTimeM :: String -> ClockTime -> StructureM ()

structureSetFractionM :: String -> Fraction -> StructureM ()

structureFixateFieldNearestIntM :: String -> Int -> StructureM Bool

structureFixateFieldNearestDoubleM :: String -> Double -> StructureM Bool

structureFixateFieldNearestFractionM :: String -> Fraction -> StructureM Bool

structureFixateFieldBoolM :: String -> Bool -> StructureM Bool