diff options
author | Thiago Santos <thiago.sousa.santos@collabora.co.uk> | 2010-12-30 00:27:03 -0300 |
---|---|---|
committer | Thiago Santos <thiago.sousa.santos@collabora.co.uk> | 2011-01-24 14:50:29 -0300 |
commit | 9863feb328c23c022dfe8c770c1cbd6e0c1c3815 (patch) | |
tree | 31892a386420995cc02c224a2f71dca1356c194d /gst/camerabin2/gstwrappercamerabinsrc.h | |
parent | aa671439e1709b0aaec2a435c292aa3e2708ec91 (diff) | |
download | gstreamer-plugins-bad-9863feb328c23c022dfe8c770c1cbd6e0c1c3815.tar.gz |
camerabin2: Implement previewing
Implement previewing functionality using 2 properties. A boolean
(post-previews) that indicates if previews should be posted, and a
GstCaps (preview-caps) to provide the desired preview caps.
wrappercamerabinsrc implements previewing by supplying the captured
image to a pipeline to adapt it to the required caps before posting.
Diffstat (limited to 'gst/camerabin2/gstwrappercamerabinsrc.h')
-rw-r--r-- | gst/camerabin2/gstwrappercamerabinsrc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gst/camerabin2/gstwrappercamerabinsrc.h b/gst/camerabin2/gstwrappercamerabinsrc.h index 2813e8b4b..c74be279c 100644 --- a/gst/camerabin2/gstwrappercamerabinsrc.h +++ b/gst/camerabin2/gstwrappercamerabinsrc.h @@ -25,6 +25,7 @@ #include <gst/gst.h> #include <gst/basecamerabinsrc/gstbasecamerasrc.h> +#include "camerabingeneral.h" G_BEGIN_DECLS #define GST_TYPE_WRAPPER_CAMERA_BIN_SRC \ @@ -107,6 +108,11 @@ struct _GstWrapperCameraBinSrc GstCaps *image_capture_caps; gboolean image_renegotiate; gboolean video_renegotiate; + + /* Preview convert pipeline */ + GstCameraBinPreviewPipelineData *preview_pipeline; + gboolean post_previews; + GstCaps *preview_caps; }; |