[gstreamer-bugs] [Bug 615789] [ximagesink] warning / race

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Apr 15 01:57:24 PDT 2010


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

--- Comment #4 from Stefan Kost (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2010-04-15 08:57:23 UTC ---
This could come from gst_ximagesink_expose(). We call this also from the event
thread (both ximagesink and xvimagesink). The expose impl look like this:

  gst_ximagesink_xwindow_update_geometry (ximagesink);
  gst_ximagesink_ximage_put (ximagesink, NULL);

where _put is handling ximagesink>xwindow == NULL.

Simmilar we could drop the assert from _update_geometry() and add this check.

  if (G_UNLIKELY (ximagesink->xwindow == NULL)) {
    g_mutex_unlock (ximagesink->flow_lock);
    return;
  }

-- 
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