Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gst-plugins-base
gst-plugins-base
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 628
    • Issues 628
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 104
    • Merge Requests 104
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GStreamer
  • gst-plugins-basegst-plugins-base
  • Issues
  • #175

Closed
Open
Opened Mar 24, 2015 by Bugzilla Migration User@bugzilla-migration

glimagesink: cannot set window handle to 0

Submitted by Xavier Claessens @xclaesse

Link to original bug (#746701)

Description

When I set glimagesink's window-handle to 0, I get that critical:

** (lt-scout-client-gtk:25380): CRITICAL **: gst_gl_window_set_window_handle: assertion 'handle != 0' failed

But gst_video_overlay_set_window_handle()'s doc says this:
"Passing 0 as the handle will tell the overlay to stop using that window and create an internal one."

In my case I'm on android, since it cannot create a new window there, I guess the sink has 2 options: drop buffers or block the streaming thread (equivalent of PAUSED, right?) until it get a new window handle. On android when switching app the SurfaceView is destroyed so in that case it sets the window-handle to 0 and I think it makes sense to pause the stream.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: gstreamer/gst-plugins-base#175