[Bug 726586] OpenNI2 plugin doesn't initialize correctly

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Apr 8 01:11:45 PDT 2014


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

Sebastian Dröge (slomo) <slomo> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #272211|none                        |needs-work
             status|                            |

--- Comment #3 from Sebastian Dröge (slomo) <slomo at coaxion.net> 2014-04-08 08:11:41 UTC ---
Review of attachment 272211:
 --> (https://bugzilla.gnome.org/review?bug=726586&attachment=272211)

Please attach this as "git format-patch" style patch

::: ext/openni2/gstopenni2src.cpp
@@ +185,3 @@
+  new((void*)&ni2src->colorVideoMode) openni::VideoMode();
+  new((void*)&ni2src->depthFrame) openni::VideoFrameRef();
+  new((void*)&ni2src->colorFrame) openni::VideoFrameRef();

Please store pointers in the struct and then use
ni2src->device = new openni::Device();
etc.

Also delete them in gst_openni2_src_finalize().

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