openni2src: Close device when stopping the stream
https://bugzilla.gnome.org/show_bug.cgi?id=732535
This commit is contained in:
parent
0b6eae66df
commit
357298c84f
@ -306,6 +306,8 @@ gst_openni2_src_stop (GstBaseSrc * bsrc)
|
|||||||
if (src->color.isValid ())
|
if (src->color.isValid ())
|
||||||
src->color.stop ();
|
src->color.stop ();
|
||||||
|
|
||||||
|
src->device->close ();
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user