[Bug 793224] New: gl: context persistence issue
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Feb 6 17:06:29 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=793224
Bug ID: 793224
Summary: gl: context persistence issue
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-base
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: philn at igalia.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
I have an issue where my custom playbin video sink (glupload ! glcolorconvert !
appsink) loses its context when the video chain is removed from playsink while
the whole pipeline goes to READY.
So rendering works fine on first run, the app handles the need-context message
fine. On second run the gl elements try a context query, that fails. Then they
try to post a need-context message but they have no bus associated yet, so that
fails. Then a new display is created from gst_gl_ensure_element_data() and it's
for the wrong platform (egl vs wayland).
But even with all those failures, somehow rendering works if the pipeline goes
to PLAYING again.
On third run rendering fails.
As a workaround I can manually set the context on the video sink before going
to PAUSED on second and following runs but shouldn't the gl context be
automatically reused from the persistent element context?
--
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