[Bug 746701] New: glimagesink: cannot set window handle to 0
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Mar 24 11:41:11 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=746701
Bug ID: 746701
Summary: glimagesink: cannot set window handle to 0
Classification: Platform
Product: GStreamer
Version: unspecified
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: xclaesse at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
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.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list