packages feed

gi-gstbase 1.0.25 → 1.0.26

raw patch · 4 files changed

+9/−5 lines, 4 filesdep ~textsetup-changedPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: text

API changes (from Hackage documentation)

- GI.GstBase.Structs.BitWriter: bitWriterGetData :: (HasCallStack, MonadIO m) => BitWriter -> m Word8
+ GI.GstBase.Objects.Aggregator: aggregatorGetIgnoreInactivePads :: (HasCallStack, MonadIO m, IsAggregator a) => a -> m Bool
+ GI.GstBase.Objects.Aggregator: aggregatorSetIgnoreInactivePads :: (HasCallStack, MonadIO m, IsAggregator a) => a -> Bool -> m ()
+ GI.GstBase.Objects.AggregatorPad: aggregatorPadIsInactive :: (HasCallStack, MonadIO m, IsAggregatorPad a) => a -> m Bool
- GI.GstBase.Callbacks: type CollectDataDestroyNotify = CollectData " /@data@/: the t'GI.GstBase.Structs.CollectData.CollectData' that will be freed" -> IO ()
+ GI.GstBase.Callbacks: type CollectDataDestroyNotify = -- | /@data@/: the t'GI.GstBase.Structs.CollectData.CollectData' that will be freed CollectData -> IO ()
- GI.GstBase.Callbacks: type CollectPadsBufferFunction = CollectPads " /@pads@/: the t'GI.GstBase.Objects.CollectPads.CollectPads' that triggered the callback" -> CollectData " /@data@/: the t'GI.GstBase.Structs.CollectData.CollectData' of pad that has received the buffer" -> Buffer " /@buffer@/: the t'GI.Gst.Structs.Buffer.Buffer'" -> IO FlowReturn " __Returns:__ 'GI.Gst.Enums.FlowReturnOk' for success"
+ GI.GstBase.Callbacks: type CollectPadsBufferFunction = -- | /@pads@/: the t'GI.GstBase.Objects.CollectPads.CollectPads' that triggered the callback CollectPads -> -- | /@data@/: the t'GI.GstBase.Structs.CollectData.CollectData' of pad that has received the buffer CollectData -> -- | /@buffer@/: the t'GI.Gst.Structs.Buffer.Buffer' Buffer -> -- | __Returns:__ 'GI.Gst.Enums.FlowReturnOk' for success IO FlowReturn
- GI.GstBase.Callbacks: type CollectPadsBufferFunction_WithClosures = CollectPads " /@pads@/: the t'GI.GstBase.Objects.CollectPads.CollectPads' that triggered the callback" -> CollectData " /@data@/: the t'GI.GstBase.Structs.CollectData.CollectData' of pad that has received the buffer" -> Buffer " /@buffer@/: the t'GI.Gst.Structs.Buffer.Buffer'" -> Ptr () " /@userData@/: user data passed to 'GI.GstBase.Objects.CollectPads.collectPadsSetBufferFunction'" -> IO FlowReturn " __Returns:__ 'GI.Gst.Enums.FlowReturnOk' for success"
+ GI.GstBase.Callbacks: type CollectPadsBufferFunction_WithClosures = -- | /@pads@/: the t'GI.GstBase.Objects.CollectPads.CollectPads' that triggered the callback CollectPads -> -- | /@data@/: the t'GI.GstBase.Structs.CollectData.CollectData' of pad that has received the buffer CollectData -> -- | /@buffer@/: the t'GI.Gst.Structs.Buffer.Buffer' Buffer -> -- | /@userData@/: user data passed to 'GI.GstBase.Objects.CollectPads.collectPadsSetBufferFunction' Ptr () -> -- | __Returns:__ 'GI.Gst.Enums.FlowReturnOk' for success IO FlowReturn
- GI.GstBase.Callbacks: type CollectPadsClipFunction = CollectPads " /@pads@/: a t'GI.GstBase.Objects.CollectPads.CollectPads'" -> CollectData " /@data@/: a t'GI.GstBase.Structs.CollectData.CollectData'" -> Buffer " /@inbuffer@/: the input t'GI.Gst.Structs.Buffer.Buffer'" -> IO ((FlowReturn, Buffer)) " __Returns:__ a t'GI.Gst.Enums.FlowReturn' that corresponds to the result of clipping."
+ GI.GstBase.Callbacks: type CollectPadsClipFunction = -- | /@pads@/: a t'GI.GstBase.Objects.CollectPads.CollectPads' CollectPads -> -- | /@data@/: a t'GI.GstBase.Structs.CollectData.CollectData' CollectData -> -- | /@inbuffer@/: the input t'GI.Gst.Structs.Buffer.Buffer' Buffer -> -- | __Returns:__ a t'GI.Gst.Enums.FlowReturn' that corresponds to the result of clipping. IO ((FlowReturn, Buffer))
- GI.GstBase.Callbacks: type CollectPadsClipFunction_WithClosures = CollectPads " /@pads@/: a t'GI.GstBase.Objects.CollectPads.CollectPads'" -> CollectData " /@data@/: a t'GI.GstBase.Structs.CollectData.CollectData'" -> Buffer " /@inbuffer@/: the input t'GI.Gst.Structs.Buffer.Buffer'" -> Ptr () " /@userData@/: user data" -> IO ((FlowReturn, Buffer)) " __Returns:__ a t'GI.Gst.Enums.FlowReturn' that corresponds to the result of clipping."
+ GI.GstBase.Callbacks: type CollectPadsClipFunction_WithClosures = -- | /@pads@/: a t'GI.GstBase.Objects.CollectPads.CollectPads' CollectPads -> -- | /@data@/: a t'GI.GstBase.Structs.CollectData.CollectData' CollectData -> -- | /@inbuffer@/: the input t'GI.Gst.Structs.Buffer.Buffer' Buffer -> -- | /@userData@/: user data Ptr () -> -- | __Returns:__ a t'GI.Gst.Enums.FlowReturn' that corresponds to the result of clipping. IO ((FlowReturn, Buffer))
- GI.GstBase.Callbacks: type CollectPadsCompareFunction = CollectPads " /@pads@/: the t'GI.GstBase.Objects.CollectPads.CollectPads' that is comparing the timestamps" -> CollectData " /@data1@/: the first t'GI.GstBase.Structs.CollectData.CollectData'" -> Word64 " /@timestamp1@/: the first timestamp" -> CollectData " /@data2@/: the second t'GI.GstBase.Structs.CollectData.CollectData'" -> Word64 " /@timestamp2@/: the second timestamp" -> IO Int32 " __Returns:__ Integer less than zero when first timestamp is deemed older than the second one. Zero if the timestamps are deemed equally old. Integer greater than zero when second timestamp is deemed older than the first one."
+ GI.GstBase.Callbacks: type CollectPadsCompareFunction = -- | /@pads@/: the t'GI.GstBase.Objects.CollectPads.CollectPads' that is comparing the timestamps CollectPads -> -- | /@data1@/: the first t'GI.GstBase.Structs.CollectData.CollectData' CollectData -> -- | /@timestamp1@/: the first timestamp Word64 -> -- | /@data2@/: the second t'GI.GstBase.Structs.CollectData.CollectData' CollectData -> -- | /@timestamp2@/: the second timestamp Word64 -> -- | __Returns:__ Integer less than zero when first timestamp is deemed older than the second one. -- Zero if the timestamps are deemed equally old. -- Integer greater than zero when second timestamp is deemed older than the first one. IO Int32
- GI.GstBase.Callbacks: type CollectPadsCompareFunction_WithClosures = CollectPads " /@pads@/: the t'GI.GstBase.Objects.CollectPads.CollectPads' that is comparing the timestamps" -> CollectData " /@data1@/: the first t'GI.GstBase.Structs.CollectData.CollectData'" -> Word64 " /@timestamp1@/: the first timestamp" -> CollectData " /@data2@/: the second t'GI.GstBase.Structs.CollectData.CollectData'" -> Word64 " /@timestamp2@/: the second timestamp" -> Ptr () " /@userData@/: user data passed to 'GI.GstBase.Objects.CollectPads.collectPadsSetCompareFunction'" -> IO Int32 " __Returns:__ Integer less than zero when first timestamp is deemed older than the second one. Zero if the timestamps are deemed equally old. Integer greater than zero when second timestamp is deemed older than the first one."
+ GI.GstBase.Callbacks: type CollectPadsCompareFunction_WithClosures = -- | /@pads@/: the t'GI.GstBase.Objects.CollectPads.CollectPads' that is comparing the timestamps CollectPads -> -- | /@data1@/: the first t'GI.GstBase.Structs.CollectData.CollectData' CollectData -> -- | /@timestamp1@/: the first timestamp Word64 -> -- | /@data2@/: the second t'GI.GstBase.Structs.CollectData.CollectData' CollectData -> -- | /@timestamp2@/: the second timestamp Word64 -> -- | /@userData@/: user data passed to 'GI.GstBase.Objects.CollectPads.collectPadsSetCompareFunction' Ptr () -> -- | __Returns:__ Integer less than zero when first timestamp is deemed older than the second one. -- Zero if the timestamps are deemed equally old. -- Integer greater than zero when second timestamp is deemed older than the first one. IO Int32
- GI.GstBase.Callbacks: type CollectPadsEventFunction = CollectPads " /@pads@/: the t'GI.GstBase.Objects.CollectPads.CollectPads' that triggered the callback" -> CollectData " /@pad@/: the t'GI.Gst.Objects.Pad.Pad' that received an event" -> Event " /@event@/: the t'GI.Gst.Structs.Event.Event' received" -> IO Bool " __Returns:__ 'P.True' if the pad could handle the event"
+ GI.GstBase.Callbacks: type CollectPadsEventFunction = -- | /@pads@/: the t'GI.GstBase.Objects.CollectPads.CollectPads' that triggered the callback CollectPads -> -- | /@pad@/: the t'GI.Gst.Objects.Pad.Pad' that received an event CollectData -> -- | /@event@/: the t'GI.Gst.Structs.Event.Event' received Event -> -- | __Returns:__ 'P.True' if the pad could handle the event IO Bool
- GI.GstBase.Callbacks: type CollectPadsEventFunction_WithClosures = CollectPads " /@pads@/: the t'GI.GstBase.Objects.CollectPads.CollectPads' that triggered the callback" -> CollectData " /@pad@/: the t'GI.Gst.Objects.Pad.Pad' that received an event" -> Event " /@event@/: the t'GI.Gst.Structs.Event.Event' received" -> Ptr () " /@userData@/: user data passed to 'GI.GstBase.Objects.CollectPads.collectPadsSetEventFunction'" -> IO Bool " __Returns:__ 'P.True' if the pad could handle the event"
+ GI.GstBase.Callbacks: type CollectPadsEventFunction_WithClosures = -- | /@pads@/: the t'GI.GstBase.Objects.CollectPads.CollectPads' that triggered the callback CollectPads -> -- | /@pad@/: the t'GI.Gst.Objects.Pad.Pad' that received an event CollectData -> -- | /@event@/: the t'GI.Gst.Structs.Event.Event' received Event -> -- | /@userData@/: user data passed to 'GI.GstBase.Objects.CollectPads.collectPadsSetEventFunction' Ptr () -> -- | __Returns:__ 'P.True' if the pad could handle the event IO Bool
- GI.GstBase.Callbacks: type CollectPadsFlushFunction = CollectPads " /@pads@/: a t'GI.GstBase.Objects.CollectPads.CollectPads'" -> IO ()
+ GI.GstBase.Callbacks: type CollectPadsFlushFunction = -- | /@pads@/: a t'GI.GstBase.Objects.CollectPads.CollectPads' CollectPads -> IO ()
- GI.GstBase.Callbacks: type CollectPadsFlushFunction_WithClosures = CollectPads " /@pads@/: a t'GI.GstBase.Objects.CollectPads.CollectPads'" -> Ptr () " /@userData@/: user data" -> IO ()
+ GI.GstBase.Callbacks: type CollectPadsFlushFunction_WithClosures = -- | /@pads@/: a t'GI.GstBase.Objects.CollectPads.CollectPads' CollectPads -> -- | /@userData@/: user data Ptr () -> IO ()
- GI.GstBase.Callbacks: type CollectPadsFunction = CollectPads " /@pads@/: the t'GI.GstBase.Objects.CollectPads.CollectPads' that triggered the callback" -> IO FlowReturn " __Returns:__ 'GI.Gst.Enums.FlowReturnOk' for success"
+ GI.GstBase.Callbacks: type CollectPadsFunction = -- | /@pads@/: the t'GI.GstBase.Objects.CollectPads.CollectPads' that triggered the callback CollectPads -> -- | __Returns:__ 'GI.Gst.Enums.FlowReturnOk' for success IO FlowReturn
- GI.GstBase.Callbacks: type CollectPadsFunction_WithClosures = CollectPads " /@pads@/: the t'GI.GstBase.Objects.CollectPads.CollectPads' that triggered the callback" -> Ptr () " /@userData@/: user data passed to 'GI.GstBase.Objects.CollectPads.collectPadsSetFunction'" -> IO FlowReturn " __Returns:__ 'GI.Gst.Enums.FlowReturnOk' for success"
+ GI.GstBase.Callbacks: type CollectPadsFunction_WithClosures = -- | /@pads@/: the t'GI.GstBase.Objects.CollectPads.CollectPads' that triggered the callback CollectPads -> -- | /@userData@/: user data passed to 'GI.GstBase.Objects.CollectPads.collectPadsSetFunction' Ptr () -> -- | __Returns:__ 'GI.Gst.Enums.FlowReturnOk' for success IO FlowReturn
- GI.GstBase.Callbacks: type CollectPadsQueryFunction = CollectPads " /@pads@/: the t'GI.GstBase.Objects.CollectPads.CollectPads' that triggered the callback" -> CollectData " /@pad@/: the t'GI.Gst.Objects.Pad.Pad' that received an event" -> Query " /@query@/: the t'GI.Gst.Structs.Event.Event' received" -> IO Bool " __Returns:__ 'P.True' if the pad could handle the event"
+ GI.GstBase.Callbacks: type CollectPadsQueryFunction = -- | /@pads@/: the t'GI.GstBase.Objects.CollectPads.CollectPads' that triggered the callback CollectPads -> -- | /@pad@/: the t'GI.Gst.Objects.Pad.Pad' that received an event CollectData -> -- | /@query@/: the t'GI.Gst.Structs.Event.Event' received Query -> -- | __Returns:__ 'P.True' if the pad could handle the event IO Bool
- GI.GstBase.Callbacks: type CollectPadsQueryFunction_WithClosures = CollectPads " /@pads@/: the t'GI.GstBase.Objects.CollectPads.CollectPads' that triggered the callback" -> CollectData " /@pad@/: the t'GI.Gst.Objects.Pad.Pad' that received an event" -> Query " /@query@/: the t'GI.Gst.Structs.Event.Event' received" -> Ptr () " /@userData@/: user data passed to 'GI.GstBase.Objects.CollectPads.collectPadsSetQueryFunction'" -> IO Bool " __Returns:__ 'P.True' if the pad could handle the event"
+ GI.GstBase.Callbacks: type CollectPadsQueryFunction_WithClosures = -- | /@pads@/: the t'GI.GstBase.Objects.CollectPads.CollectPads' that triggered the callback CollectPads -> -- | /@pad@/: the t'GI.Gst.Objects.Pad.Pad' that received an event CollectData -> -- | /@query@/: the t'GI.Gst.Structs.Event.Event' received Query -> -- | /@userData@/: user data passed to 'GI.GstBase.Objects.CollectPads.collectPadsSetQueryFunction' Ptr () -> -- | __Returns:__ 'P.True' if the pad could handle the event IO Bool
- GI.GstBase.Callbacks: type TypeFindHelperGetRangeFunction = Object " /@obj@/: a t'GI.Gst.Objects.Object.Object' that will handle the getrange request" -> Maybe Object " /@parent@/: the parent of /@obj@/ or 'P.Nothing'" -> Word64 " /@offset@/: the offset of the range" -> Word32 " /@length@/: the length of the range" -> IO ((FlowReturn, Buffer)) " __Returns:__ GST_FLOW_OK for success"
+ GI.GstBase.Callbacks: type TypeFindHelperGetRangeFunction = -- | /@obj@/: a t'GI.Gst.Objects.Object.Object' that will handle the getrange request Object -> -- | /@parent@/: the parent of /@obj@/ or 'P.Nothing' Maybe Object -> -- | /@offset@/: the offset of the range Word64 -> -- | /@length@/: the length of the range Word32 -> -- | __Returns:__ GST_FLOW_OK for success IO ((FlowReturn, Buffer))
- GI.GstBase.Objects.Aggregator: type AggregatorSamplesSelectedCallback = Segment " /@segment@/: The t'GI.Gst.Structs.Segment.Segment' the next output buffer is part of" -> Word64 " /@pts@/: The presentation timestamp of the next output buffer" -> Word64 " /@dts@/: The decoding timestamp of the next output buffer" -> Word64 " /@duration@/: The duration of the next output buffer" -> Maybe Structure " /@info@/: a t'GI.Gst.Structs.Structure.Structure' containing additional information" -> IO ()
+ GI.GstBase.Objects.Aggregator: type AggregatorSamplesSelectedCallback = -- | /@segment@/: The t'GI.Gst.Structs.Segment.Segment' the next output buffer is part of Segment -> -- | /@pts@/: The presentation timestamp of the next output buffer Word64 -> -- | /@dts@/: The decoding timestamp of the next output buffer Word64 -> -- | /@duration@/: The duration of the next output buffer Word64 -> -- | /@info@/: a t'GI.Gst.Structs.Structure.Structure' containing additional information Maybe Structure -> IO ()
- GI.GstBase.Structs.BitWriter: bitWriterPutBytes :: (HasCallStack, MonadIO m) => BitWriter -> Word8 -> Word32 -> m Bool
+ GI.GstBase.Structs.BitWriter: bitWriterPutBytes :: (HasCallStack, MonadIO m) => BitWriter -> Ptr Word8 -> Word32 -> m Bool

Files

ChangeLog.md view
@@ -1,3 +1,7 @@+### 1.0.26+++ Relax constraint on text+ ### 1.0.25  + Update to haskell-gi(-base)-0.26
README.md view
@@ -1,6 +1,6 @@ # Documentation Autogenerated documentation for this package can be found at -[https://hackage.haskell.org/package/gi-gstbase-1.0.25/docs/GI-GstBase.html](https://hackage.haskell.org/package/gi-gstbase-1.0.25/docs/GI-GstBase.html)+[https://hackage.haskell.org/package/gi-gstbase-1.0.26/docs/GI-GstBase.html](https://hackage.haskell.org/package/gi-gstbase-1.0.26/docs/GI-GstBase.html)  For general documentation on using [haskell-gi](https://github.com/haskell-gi/haskell-gi) based bindings, see [the project page](https://github.com/haskell-gi/haskell-gi) or [the Wiki](https://github.com/haskell-gi/haskell-gi/wiki).
Setup.hs view
@@ -12,7 +12,7 @@   where name = "GstBase"         version = "1.0"         pkgName = "gi-gstbase"-        pkgVersion = "1.0.25"+        pkgVersion = "1.0.26"         overridesFile = Just "GstBase.overrides"         verbose = False         outputDir = Nothing
gi-gstbase.cabal view
@@ -1,5 +1,5 @@ name:                 gi-gstbase-version:              1.0.25+version:              1.0.26 synopsis:             GStreamerBase bindings description:          Bindings for GStreamerBase, autogenerated by haskell-gi. homepage:             https://github.com/haskell-gi/haskell-gi@@ -23,7 +23,7 @@  library       default-language: Haskell2010-      default-extensions: NoImplicitPrelude, ScopedTypeVariables, CPP, OverloadedStrings, NegativeLiterals, ConstraintKinds, TypeFamilies, MultiParamTypeClasses, KindSignatures, FlexibleInstances, UndecidableInstances, DataKinds, FlexibleContexts, UndecidableSuperClasses+      default-extensions: NoImplicitPrelude, ScopedTypeVariables, CPP, OverloadedStrings, NegativeLiterals, ConstraintKinds, TypeFamilies, MultiParamTypeClasses, KindSignatures, FlexibleInstances, UndecidableInstances, DataKinds, FlexibleContexts, UndecidableSuperClasses, TypeOperators       other-extensions: PatternSynonyms, ViewPatterns, TypeApplications       ghc-options: -fno-warn-unused-imports -fno-warn-warnings-deprecations @@ -37,7 +37,7 @@                      gi-glib == 2.0.*,                      bytestring >= 0.10 && < 1,                      containers >= 0.5 && < 1,-                     text >= 1.0 && < 2,+                     text >= 1.0 && < 3,                      transformers >= 0.4 && < 1        -- Disable overloading when compiling under GHC 8.2.x