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.Iterator

Description

# Documentation

data Iterable a => Iterator a Source

class Iterable a Source

Instances

Iterable Element |
Iterable Pad |
Iterable FormatDefinition |

type IteratorFilter itemT = itemT -> IO Bool Source

type IteratorFoldFunction itemT accumT = itemT -> accumT -> IO (Bool, accumT)Source

data IteratorResult Source

Constructors

IteratorDone |
IteratorOk |
IteratorResync |
IteratorError |

Instances

Enum IteratorResult |
Eq IteratorResult |
Show IteratorResult |

iteratorNext :: Iterable a => Iterator a -> IO (IteratorResult, Maybe a)Source

iteratorResync :: Iterator a -> IO ()Source

iteratorFilter :: Iterable a => Iterator a -> IteratorFilter a -> IO (Iterator a)Source

iteratorFold :: Iterable itemT => Iterator itemT -> accumT -> IteratorFoldFunction itemT accumT -> IO (IteratorResult, accumT)Source

iteratorForeach :: Iterable itemT => Iterator itemT -> (itemT -> IO ()) -> IO IteratorResult Source

iteratorFind :: Iterable itemT => Iterator itemT -> (itemT -> IO Bool) -> IO (IteratorResult, Maybe itemT)Source