mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
91b7f2d99e
Implements video capture on v4l2camerasrc by using the mode property, when mode is set to video, the pad probe pushes a new segment and starts pushing buffers on the pad, when it the property is sent back to preview, the pad probe pushes an EOS and stops pushing buffers. This is controlled by a Recording State variable, that is protected by the GST_OBJECT_LOCK. I don't think locking for every buffer is nice, so we could find an alternative lockless way here. |
||
---|---|---|
.. | ||
camerabingeneral.c | ||
camerabingeneral.h | ||
gstbasecamerasrc.c | ||
gstbasecamerasrc.h | ||
gstcamerabin-enum.c | ||
gstcamerabin-enum.h | ||
gstcamerabin2.c | ||
gstcamerabin2.h | ||
gstimagecapturebin.c | ||
gstimagecapturebin.h | ||
gstplugin.c | ||
gstv4l2camerasrc.c | ||
gstv4l2camerasrc.h | ||
gstvideorecordingbin.c | ||
gstvideorecordingbin.h | ||
gstviewfinderbin.c | ||
gstviewfinderbin.h | ||
Makefile.am |