Commit 357298c8 authored by Arun Raghavan's avatar Arun Raghavan

openni2src: Close device when stopping the stream
parent 0b6eae66
......@@ -306,6 +306,8 @@ gst_openni2_src_stop (GstBaseSrc * bsrc)
if (src->color.isValid ())
src->color.stop ();
src->device->close ();
return TRUE;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment