[Bug 725048] gl: The display handle isn't freed correctly

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Mar 3 19:34:02 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=725048
  GStreamer | gst-plugins-gl | git

--- Comment #19 from Matthew Waters <ystreet00 at gmail.com> 2014-03-04 03:56:16 UTC ---
Yes, multiple by default.  VAAPI doesn't take a ref because it doesn't know
about the context and it hasn't needed to.  Taking a ref on either the
GstGLContext or the Display would work.  The first requiring the least work.

Just some background.  The reason it is like this is, with GstVideoOverlay
case, we cannot call XInitThreads for integration with gtk+.  It will also
segfault inside X11 on a lock unless XinitThreads is called before gtk_init
which in general, does not happen. See tests/examples/gtk/filtervideooverlay/
for an example to test with.  So instead, we use at least one Display
connection per thread.  If this turns out to be too complicated I'll move to
requiring XInitThreads to be called.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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