gi-gstvideo 1.0.14 → 1.0.15
raw patch · 4 files changed
+16/−18 lines, 4 filesdep ~haskell-gidep ~haskell-gi-basedep ~haskell-gi-overloadingPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: haskell-gi, haskell-gi-base, haskell-gi-overloading
API changes (from Hackage documentation)
- GI.GstVideo.PkgInfo: flags :: [(String, Bool)]
- GI.GstVideo.PkgInfo: pkgConfigVersions :: [(String, String)]
- GI.GstVideo.Callbacks: type VideoFormatPack = VideoFormatInfo -> [VideoPackFlags] -> Ptr () -> Int32 -> Ptr () -> Int32 -> [VideoChromaSite] -> Int32 -> Int32 -> IO ()
+ GI.GstVideo.Callbacks: type VideoFormatPack = VideoFormatInfo /@info@/: a 'GI.GstVideo.Structs.VideoFormatInfo.VideoFormatInfo' -> [VideoPackFlags] /@flags@/: flags to control the packing -> Ptr () /@src@/: a source array -> Int32 /@sstride@/: the source array stride -> Ptr () /@data@/: pointers to the destination data planes -> Int32 /@stride@/: strides of the destination planes -> [VideoChromaSite] /@chromaSite@/: the chroma siting of the target when subsampled (not used) -> Int32 /@y@/: the y position in the image to pack to -> Int32 /@width@/: the amount of pixels to pack. -> IO ()
- GI.GstVideo.Callbacks: type VideoFormatUnpack = VideoFormatInfo -> [VideoPackFlags] -> Ptr () -> Ptr () -> Int32 -> Int32 -> Int32 -> Int32 -> IO ()
+ GI.GstVideo.Callbacks: type VideoFormatUnpack = VideoFormatInfo /@info@/: a 'GI.GstVideo.Structs.VideoFormatInfo.VideoFormatInfo' -> [VideoPackFlags] /@flags@/: flags to control the unpacking -> Ptr () /@dest@/: a destination array -> Ptr () /@data@/: pointers to the data planes -> Int32 /@stride@/: strides of the planes -> Int32 /@x@/: the x position in the image to start from -> Int32 /@y@/: the y position in the image to start from -> Int32 /@width@/: the amount of pixels to unpack. -> IO ()
- GI.GstVideo.Callbacks: wrap_VideoAffineTransformationGetMatrix :: Maybe (Ptr (FunPtr C_VideoAffineTransformationGetMatrix)) -> VideoAffineTransformationGetMatrix -> Ptr VideoAffineTransformationMeta -> CFloat -> IO CInt
+ GI.GstVideo.Callbacks: wrap_VideoAffineTransformationGetMatrix :: Maybe (Ptr (FunPtr C_VideoAffineTransformationGetMatrix)) -> VideoAffineTransformationGetMatrix -> C_VideoAffineTransformationGetMatrix
- GI.GstVideo.Callbacks: wrap_VideoConvertSampleCallback :: Maybe (Ptr (FunPtr C_VideoConvertSampleCallback)) -> VideoConvertSampleCallback_WithClosures -> Ptr Sample -> Ptr GError -> Ptr () -> IO ()
+ GI.GstVideo.Callbacks: wrap_VideoConvertSampleCallback :: Maybe (Ptr (FunPtr C_VideoConvertSampleCallback)) -> VideoConvertSampleCallback_WithClosures -> C_VideoConvertSampleCallback
- GI.GstVideo.Callbacks: wrap_VideoFormatPack :: Maybe (Ptr (FunPtr C_VideoFormatPack)) -> VideoFormatPack -> Ptr VideoFormatInfo -> CUInt -> Ptr () -> Int32 -> Ptr () -> Int32 -> CUInt -> Int32 -> Int32 -> IO ()
+ GI.GstVideo.Callbacks: wrap_VideoFormatPack :: Maybe (Ptr (FunPtr C_VideoFormatPack)) -> VideoFormatPack -> C_VideoFormatPack
- GI.GstVideo.Callbacks: wrap_VideoFormatUnpack :: Maybe (Ptr (FunPtr C_VideoFormatUnpack)) -> VideoFormatUnpack -> Ptr VideoFormatInfo -> CUInt -> Ptr () -> Ptr () -> Int32 -> Int32 -> Int32 -> Int32 -> IO ()
+ GI.GstVideo.Callbacks: wrap_VideoFormatUnpack :: Maybe (Ptr (FunPtr C_VideoFormatUnpack)) -> VideoFormatUnpack -> C_VideoFormatUnpack
- GI.GstVideo.Callbacks: wrap_VideoGLTextureUpload :: Maybe (Ptr (FunPtr C_VideoGLTextureUpload)) -> VideoGLTextureUpload -> Ptr VideoGLTextureUploadMeta -> Word32 -> IO CInt
+ GI.GstVideo.Callbacks: wrap_VideoGLTextureUpload :: Maybe (Ptr (FunPtr C_VideoGLTextureUpload)) -> VideoGLTextureUpload -> C_VideoGLTextureUpload
- GI.GstVideo.Callbacks: wrap_VideoMetaMapFieldCallback :: Maybe (Ptr (FunPtr C_VideoMetaMapFieldCallback)) -> VideoMetaMapFieldCallback -> Ptr VideoMeta -> Word32 -> Ptr MapInfo -> Ptr () -> Int32 -> CUInt -> IO CInt
+ GI.GstVideo.Callbacks: wrap_VideoMetaMapFieldCallback :: Maybe (Ptr (FunPtr C_VideoMetaMapFieldCallback)) -> VideoMetaMapFieldCallback -> C_VideoMetaMapFieldCallback
- GI.GstVideo.Callbacks: wrap_VideoMetaUnmapFieldCallback :: Maybe (Ptr (FunPtr C_VideoMetaUnmapFieldCallback)) -> VideoMetaUnmapFieldCallback -> Ptr VideoMeta -> Word32 -> Ptr MapInfo -> IO CInt
+ GI.GstVideo.Callbacks: wrap_VideoMetaUnmapFieldCallback :: Maybe (Ptr (FunPtr C_VideoMetaUnmapFieldCallback)) -> VideoMetaUnmapFieldCallback -> C_VideoMetaUnmapFieldCallback
- GI.GstVideo.Interfaces.ColorBalance: type ColorBalanceValueChangedCallback = ColorBalanceChannel -> Int32 -> IO ()
+ GI.GstVideo.Interfaces.ColorBalance: type ColorBalanceValueChangedCallback = ColorBalanceChannel /@channel@/: The 'GI.GstVideo.Objects.ColorBalanceChannel.ColorBalanceChannel' -> Int32 /@value@/: The new value -> IO ()
- GI.GstVideo.Interfaces.ColorBalance: wrap_ColorBalanceValueChangedCallback :: ColorBalanceValueChangedCallback -> Ptr () -> Ptr ColorBalanceChannel -> Int32 -> Ptr () -> IO ()
+ GI.GstVideo.Interfaces.ColorBalance: wrap_ColorBalanceValueChangedCallback :: ColorBalanceValueChangedCallback -> C_ColorBalanceValueChangedCallback
- GI.GstVideo.Objects.ColorBalanceChannel: type ColorBalanceChannelValueChangedCallback = Int32 -> IO ()
+ GI.GstVideo.Objects.ColorBalanceChannel: type ColorBalanceChannelValueChangedCallback = Int32 /@value@/: The new value -> IO ()
- GI.GstVideo.Objects.ColorBalanceChannel: wrap_ColorBalanceChannelValueChangedCallback :: ColorBalanceChannelValueChangedCallback -> Ptr () -> Int32 -> Ptr () -> IO ()
+ GI.GstVideo.Objects.ColorBalanceChannel: wrap_ColorBalanceChannelValueChangedCallback :: ColorBalanceChannelValueChangedCallback -> C_ColorBalanceChannelValueChangedCallback
Files
- ChangeLog.md +4/−0
- README.md +1/−1
- gi-gstvideo.cabal +10/−14
- stack.yaml +1/−3
ChangeLog.md view
@@ -0,0 +1,4 @@+### 1.0.15+++ Remove enable-overloading flags, and use instead explicit CPP checks for 'haskell-gi-overloading-1.0', see [how to disable overloading](https://github.com/haskell-gi/haskell-gi/wiki/Overloading\#disabling-overloading).+
README.md view
@@ -1,6 +1,6 @@ # Documentation Autogenerated documentation for this package can be found at -[https://hackage.haskell.org/package/gi-gstvideo-1.0.14/docs/GI-GstVideo.html](https://hackage.haskell.org/package/gi-gstvideo-1.0.14/docs/GI-GstVideo.html)+[https://hackage.haskell.org/package/gi-gstvideo-1.0.15/docs/GI-GstVideo.html](https://hackage.haskell.org/package/gi-gstvideo-1.0.15/docs/GI-GstVideo.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).
gi-gstvideo.cabal view
@@ -1,5 +1,5 @@ name: gi-gstvideo-version: 1.0.14+version: 1.0.15 synopsis: GStreamerVideo bindings description: Bindings for GStreamerVideo, autogenerated by haskell-gi. homepage: https://github.com/haskell-gi/haskell-gi@@ -16,11 +16,7 @@ custom-setup setup-depends: base >= 4.7 && < 5, Cabal >= 1.24,- haskell-gi >= 0.20.1 && < 1--Flag enable-overloading- Description: Enable support for overloaded labels.- Default: True+ haskell-gi == 0.21.* library default-language: Haskell2010@@ -28,16 +24,11 @@ other-extensions: PatternSynonyms, ViewPatterns ghc-options: -fno-warn-unused-imports -fno-warn-warnings-deprecations - if flag(enable-overloading)- cpp-options: -DENABLE_OVERLOADING- build-depends: haskell-gi-overloading == 1.0.*- else- build-depends: haskell-gi-overloading == 0.0- pkgconfig-depends: gstreamer-video-1.0 build-depends: base >= 4.8 && <5,- haskell-gi-base >= 0.20 && < 1,- haskell-gi >= 0.20.1 && < 1,+ haskell-gi-base == 0.21.*,+ haskell-gi == 0.21.*,+ haskell-gi-overloading < 1.1, gi-gstbase == 1.0.*, gi-gst == 1.0.*, gi-gobject == 2.0.*,@@ -46,3 +37,8 @@ containers >= 0.5 && < 1, text >= 1.0 && < 2, transformers >= 0.4 && < 1++ -- Disable overloading when compiling under GHC 8.2.x+ -- see https://ghc.haskell.org/trac/ghc/ticket/14382+ if impl(ghc == 8.2.*)+ build-depends: haskell-gi-overloading == 0.0
stack.yaml view
@@ -1,5 +1,3 @@ packages: - '.'-explicit-setup-deps:- ! '*': true-resolver: nightly-2016-12-05+resolver: lts-9.21