From 39093d2199afdac49917e4eb37ae15c986254bf1 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Thu, 25 Nov 2010 22:05:39 -0300 Subject: [PATCH] camerabin2: v4l2camerasrc: Remove platform specific code Remove platform specific code --- gst/camerabin2/gstv4l2camerasrc.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/gst/camerabin2/gstv4l2camerasrc.c b/gst/camerabin2/gstv4l2camerasrc.c index 07a068e6ff..8d3f7eb822 100644 --- a/gst/camerabin2/gstv4l2camerasrc.c +++ b/gst/camerabin2/gstv4l2camerasrc.c @@ -41,9 +41,6 @@ /* Using "bilinear" as default zoom method */ #define CAMERABIN_DEFAULT_ZOOM_METHOD 1 -/* FIXME: this is v4l2camsrc specific */ -#define DEFAULT_V4L2CAMSRC_DRIVER_NAME "omap3cam" - //GST_DEBUG_CATEGORY (v4l2_camera_src_debug); //#define GST_CAT_DEFAULT v4l2_camera_src_debug @@ -269,21 +266,6 @@ gst_v4l2_camera_src_construct_pipeline (GstBaseCameraSrc * bcamsrc, g_object_set (G_OBJECT (queue), "leaky", 2, "max-size-buffers", 1, NULL); #endif - /* Set default "driver-name" for v4l2camsrc if not set */ - /* FIXME: v4l2camsrc specific */ - { - gchar *driver_name = NULL; - if (g_object_class_find_property (G_OBJECT_GET_CLASS (self->src_vid_src), - "driver-name")) { - g_object_get (G_OBJECT (self->src_vid_src), "driver-name", - &driver_name, NULL); - if (!driver_name) { - g_object_set (G_OBJECT (self->src_vid_src), "driver-name", - DEFAULT_V4L2CAMSRC_DRIVER_NAME, NULL); - } - } - } - ret = TRUE; done: return ret; -- 2.34.1