summaryrefslogtreecommitdiff
path: root/gst/camerabin2/gstwrappercamerabinsrc.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/camerabin2/gstwrappercamerabinsrc.h')
-rw-r--r--gst/camerabin2/gstwrappercamerabinsrc.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/gst/camerabin2/gstwrappercamerabinsrc.h b/gst/camerabin2/gstwrappercamerabinsrc.h
index 8976fcb31..692cca521 100644
--- a/gst/camerabin2/gstwrappercamerabinsrc.h
+++ b/gst/camerabin2/gstwrappercamerabinsrc.h
@@ -103,12 +103,9 @@ struct _GstWrapperCameraBinSrc
/* Caps that videosrc supports */
GstCaps *allowed_caps;
- /* Optional base crop for frames. Used to crop frames e.g.
- due to wrong aspect ratio, before the crop related to zooming. */
- gint base_crop_top;
- gint base_crop_bottom;
- gint base_crop_left;
- gint base_crop_right;
+ /* Optional crop for frames. Used to crop frames e.g.
+ due to wrong aspect ratio. Done before the crop related to zooming. */
+ GstElement *src_crop;
/* Caps applied to capsfilters when in view finder mode */
GstCaps *view_finder_caps;