mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 03:45:39 +00:00
rpicamsrc: Added "src->started = FALSE;" to gst_rpi_cam_src_stop
Makes the element reusable multiple times after a state change back to READY. Fixes #105 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/823>
This commit is contained in:
parent
8a0a7d932a
commit
2c76f03fe2
1 changed files with 1 additions and 0 deletions
|
@ -1266,6 +1266,7 @@ gst_rpi_cam_src_stop (GstBaseSrc * parent)
|
|||
raspi_capture_stop (src->capture_state);
|
||||
raspi_capture_free (src->capture_state);
|
||||
src->capture_state = NULL;
|
||||
src->started = FALSE;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue