From 6675318107e4cb465dcad37aafec704d46e12a9f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ren=C3=A9=20Stadler?= Date: Wed, 11 Feb 2009 01:24:51 +0200 Subject: [PATCH] camerabin: Use v4l2src as default source. --- gst/camerabin/gstcamerabin.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/gst/camerabin/gstcamerabin.c b/gst/camerabin/gstcamerabin.c index a720809..1ad0189 100644 --- a/gst/camerabin/gstcamerabin.c +++ b/gst/camerabin/gstcamerabin.c @@ -218,11 +218,8 @@ static guint camerabin_signals[LAST_SIGNAL]; #define USE_COLOR_CONVERTER 1 -/* FIXME: use autovideosrc - * v4l2camsrc should have GST_RANK_PRIMARY in maemo and _NONE in plugins-bad - * for now */ -static const char SRC_VID_SRC[] = "v4l2camsrc"; -/*static const char SRC_VID_SRC[] = "v4l2src"; */ +/* FIXME: Make sure this can work with autovideosrc and use that. */ +static const char SRC_VID_SRC[] = "v4l2src"; static const char ZOOM_CROP[] = "videocrop"; static const char ZOOM_SCALE[] = "videoscale"; @@ -2017,14 +2014,14 @@ gst_camerabin_class_init (GstCameraBinClass * klass) * GstCameraBin:videosrc: * * Set up a video source element. - * By default "v4l2camsrc" will be the src element. + * By default "v4l2src" will be the src element. * This property can only be set while #GstCameraBin is in NULL state. * The ownership of the element will be taken by #GstCameraBin. */ g_object_class_install_property (gobject_class, ARG_VIDEO_SRC, g_param_spec_object ("videosrc", "Video source element", - "Video source GStreamer element (default is v4l2camsrc)", + "Video source GStreamer element (default is v4l2src)", GST_TYPE_ELEMENT, G_PARAM_READWRITE)); /** * GstCameraBin:audiosrc: -- 2.7.4