[Bug 763174] [PATCH] The geometry must never be set to 0 once the node is added to the SG

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Mar 21 21:02:03 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=763174

--- Comment #2 from Niels Ole Salscheider <niels_ole at salscheider-online.de> ---
Yes, the geometry is NULL by default, but the node is not added to the scene
graph yet. But it has to be set to something different before adding it and it
must never be NULL once it is added.

The geometry has to be set every time we switch between a black texture (when
no video is played) and between the video texture because it has different
attributes.
Without my patch, we set the geometry to 0, so that we can test for 0 and
create a new geometry when necessary. But this crashes and so I had to
introduce a new variable to catch that case.

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