Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-plugins-bad gst-plugins-bad
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 986
    • Issues 986
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 132
    • Merge requests 132
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gst-plugins-badgst-plugins-bad
  • Issues
  • #580

Closed
Open
Created Jul 07, 2017 by Bugzilla Migration User@bugzilla-migration

CPU memory allocation error when trying to map a frame buffer

Submitted by Jeremi Wójcicki

Link to original bug (#784658)

Description

On ANDROID

In a pipeline:

videotestsrc ! video/x-raw,format=RGB,width=1280,height=720,framerate=30/1,pixel-aspect-ratio=1/1 ! glupload ! appsink

When trying to map a video frame in an appsink callback:

gst_video_frame_map(&frame, &info, buffer, (GstMapFlags) (GST_MAP_READ | (GST_MAP_FLAG_LAST << 1)) )

Gives a following error (does not block/crash the app however):

07-07 18:43:49.530 24876-25152/org.freedesktop.gstreamer.tutorials.tutorial_3 E/GStreamer+gldebug: 0:03:59.174314367 0x7cdf48c0f0 gstgldebug.c:303:_gst_gl_debug_callback:<glcontextegl0> high: GL error from API id:150, Error:glGetQueryObjectui64vEXT::invalid query object
07-07 18:43:49.531 24876-25152/org.freedesktop.gstreamer.tutorials.tutorial_3 E/GStreamer+gldebug: 0:03:59.174688175 0x7cdf48c0f0 gstgldebug.c:303:_gst_gl_debug_callback:<glcontextegl0> high: GL error from API id:1, Error:glBeginQueryEXT::failed to allocate CPU memory
07-07 18:43:49.534 24876-25152/org.freedesktop.gstreamer.tutorials.tutorial_3 E/GStreamer+gldebug: 0:03:59.177960175 0x7cdf48c0f0 gstgldebug.c:303:_gst_gl_debug_callback:<glcontextegl0> high: GL error from API id:148, Error:glEndQueryEXT::query name is 0

Run on Samsung Galaxy S8, API 24, android 7.0

From more details refer to:
http://gstreamer-devel.966125.n4.nabble.com/Memory-allocation-error-when-trying-to-map-a-video-frame-td4683716.html

Version: 1.12.0

Assignee
Assign to
Time tracking