diff options
author | Arun Raghavan <arun@accosted.net> | 2014-07-01 12:18:19 +0530 |
---|---|---|
committer | Arun Raghavan <arun@accosted.net> | 2014-07-03 23:08:22 +0530 |
commit | 357298c84f3c523a8c6b21c4b0d6a730d4f2518c (patch) | |
tree | 6bb7776541f233fad1a655ac3f06479ef1ec693c /ext | |
parent | 0b6eae66dfea18b64455c9fa1d3b76103b890058 (diff) | |
download | gstreamer-plugins-bad-357298c84f3c523a8c6b21c4b0d6a730d4f2518c.tar.gz |
openni2src: Close device when stopping the stream
https://bugzilla.gnome.org/show_bug.cgi?id=732535
Diffstat (limited to 'ext')
-rw-r--r-- | ext/openni2/gstopenni2src.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/openni2/gstopenni2src.cpp b/ext/openni2/gstopenni2src.cpp index d9b08434a..ad7c33ad3 100644 --- a/ext/openni2/gstopenni2src.cpp +++ b/ext/openni2/gstopenni2src.cpp @@ -306,6 +306,8 @@ gst_openni2_src_stop (GstBaseSrc * bsrc) if (src->color.isValid ()) src->color.stop (); + src->device->close (); + return TRUE; } |