diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2020-01-16 10:31:45 -0500 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-03-07 01:57:45 +0200 |
commit | 58feb69f8522892620825b691b4669e7c37e74b2 (patch) | |
tree | 2001d4494d14e03065d21393b570dd61a1577ec1 /test/serialization/serialization_test.h | |
parent | cfa61225a47e9ab59d27f306383ff54e6a568f37 (diff) |
gst: libcamerasrc: Implement selection and acquisition
This adds code to select and acquire a camera. With this, it is now
possible to run a pipeline like:
gst-launch-1.0 libcamerasrc ! fakesink
Though no buffer will be streamed yet. In this function, we implement the
change_state() virtual method to trigger actions on specific state transitions.
Note that we also return GST_STATE_CHANGE_NO_PREROLL in
GST_STATE_CHANGE_READY_TO_PAUSED and GST_STATE_CHANGE_PLAYING_TO_PAUSED
transitions as this is required for all live sources.
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/serialization/serialization_test.h')
0 files changed, 0 insertions, 0 deletions