mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -306,6 +306,8 @@ gst_openni2_src_stop (GstBaseSrc * bsrc)
|
|||
if (src->color.isValid ())
|
||||
src->color.stop ();
|
||||
|
||||
src->device->close ();
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue