Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-python gst-python
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 43
    • Issues 43
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamerGStreamer
  • gst-pythongst-python
  • Issues
  • #16
Closed
Open
Issue created Jan 08, 2019 by Antonio Ospite@ao2

GstBase.Adapter.map() and GstBase.Adapter.take() have missing parameter

GstBase.Adapter.map() and GstBase.Adapter.take() do not currently accept the size and nbytes arguments in the python bindings even though the documentation mention them when describing the functions:

  • http://lazka.github.io/pgi-docs/GstBase-1.0/classes/Adapter.html#GstBase.Adapter.map
  • http://lazka.github.io/pgi-docs/GstBase-1.0/classes/Adapter.html#GstBase.Adapter.take

These parameters are there in the C API:

  • https://developer.gnome.org/gstreamer-libs/stable/GstAdapter.html#gst-adapter-map
  • https://developer.gnome.org/gstreamer-libs/stable/GstAdapter.html#gst-adapter-take

These shortcomings can be worked around by using GstBase.Adapter.take_buffer*() functions which seem to work fine and can substitute the broken ones.

This file shows the problem for GstBase.Adapter.take(): test_GstAdapter_take.py

Thank you, Antonio

Assignee
Assign to
Time tracking