mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
camerabin2: Removing uneeded properties
Removing uneeded and unregistered properties.
This commit is contained in:
parent
3afa2c3a25
commit
7f41c2594d
2 changed files with 0 additions and 66 deletions
|
@ -281,55 +281,6 @@ gst_base_camera_src_set_property (GObject * object,
|
|||
gst_base_camera_src_setup_zoom (self);
|
||||
break;
|
||||
}
|
||||
case ARG_IMAGE_CAPTURE_WIDTH:{
|
||||
gint width = g_value_get_int (value);
|
||||
|
||||
if (width != self->image_capture_width) {
|
||||
self->image_capture_width = width;
|
||||
//XXX self->image_capture_caps_update = TRUE;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ARG_IMAGE_CAPTURE_HEIGHT:{
|
||||
gint height = g_value_get_int (value);
|
||||
|
||||
if (height != self->image_capture_height) {
|
||||
self->image_capture_height = height;
|
||||
//XXX self->image_capture_caps_update = TRUE;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ARG_VIDEO_CAPTURE_WIDTH:{
|
||||
gint width = g_value_get_int (value);
|
||||
|
||||
if (width != self->width) {
|
||||
self->width = width;
|
||||
//XXX self->video_capture_caps_update = TRUE;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ARG_VIDEO_CAPTURE_HEIGHT:{
|
||||
gint height = g_value_get_int (value);
|
||||
|
||||
if (height != self->height) {
|
||||
self->height = height;
|
||||
//XXX self->video_capture_caps_update = TRUE;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case ARG_VIDEO_CAPTURE_FRAMERATE:{
|
||||
gint fps_n, fps_d;
|
||||
|
||||
fps_n = gst_value_get_fraction_numerator (value);
|
||||
fps_d = gst_value_get_fraction_denominator (value);
|
||||
|
||||
if (fps_n != self->fps_n || fps_d != self->fps_d) {
|
||||
self->fps_n = fps_n;
|
||||
self->fps_d = fps_d;
|
||||
//XXX self->video_capture_caps_update = TRUE;
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (self, prop_id, pspec);
|
||||
break;
|
||||
|
@ -346,21 +297,6 @@ gst_base_camera_src_get_property (GObject * object,
|
|||
case ARG_ZOOM:
|
||||
g_value_set_int (value, g_atomic_int_get (&self->zoom));
|
||||
break;
|
||||
case ARG_IMAGE_CAPTURE_WIDTH:
|
||||
g_value_set_int (value, self->image_capture_width);
|
||||
break;
|
||||
case ARG_IMAGE_CAPTURE_HEIGHT:
|
||||
g_value_set_int (value, self->image_capture_height);
|
||||
break;
|
||||
case ARG_VIDEO_CAPTURE_WIDTH:
|
||||
g_value_set_int (value, self->width);
|
||||
break;
|
||||
case ARG_VIDEO_CAPTURE_HEIGHT:
|
||||
g_value_set_int (value, self->height);
|
||||
break;
|
||||
case ARG_VIDEO_CAPTURE_FRAMERATE:
|
||||
gst_value_set_fraction (value, self->fps_n, self->fps_d);
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (self, prop_id, pspec);
|
||||
break;
|
||||
|
|
|
@ -37,8 +37,6 @@
|
|||
|
||||
|
||||
#define CAMERABIN_DEFAULT_VF_CAPS "video/x-raw-yuv,format=(fourcc)I420"
|
||||
//#define CAMERABIN_MAX_VF_WIDTH 848
|
||||
//#define CAMERABIN_MAX_VF_HEIGHT 848
|
||||
|
||||
/* Using "bilinear" as default zoom method */
|
||||
#define CAMERABIN_DEFAULT_ZOOM_METHOD 1
|
||||
|
|
Loading…
Reference in a new issue