projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a0a7d9
)
rpicamsrc: Added "src->started = FALSE;" to gst_rpi_cam_src_stop
author
Tim Schneider
<tim.schneider94@t-online.de>
Wed, 18 Nov 2020 19:09:24 +0000
(20:09 +0100)
committer
Jan Schmidt
<jan@centricular.com>
Thu, 19 Nov 2020 15:15:15 +0000
(
02:15
+1100)
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>
sys/rpicamsrc/gstrpicamsrc.c
patch
|
blob
|
history
diff --git
a/sys/rpicamsrc/gstrpicamsrc.c
b/sys/rpicamsrc/gstrpicamsrc.c
index
a148d41
..
2aa28f4
100644
(file)
--- a/
sys/rpicamsrc/gstrpicamsrc.c
+++ b/
sys/rpicamsrc/gstrpicamsrc.c
@@
-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;
}