From 86f9a0ed31021837b446812bf7778fb8a1835d5b Mon Sep 17 00:00:00 2001 From: Edgard Lima Date: Wed, 12 Apr 2006 21:57:02 +0000 Subject: Fix to work in read mode. Original commit message from CVS: Fix to work in read mode. --- sys/v4l2/gstv4l2src.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys') diff --git a/sys/v4l2/gstv4l2src.c b/sys/v4l2/gstv4l2src.c index 0a7ce73f..e2182990 100644 --- a/sys/v4l2/gstv4l2src.c +++ b/sys/v4l2/gstv4l2src.c @@ -739,7 +739,6 @@ gst_v4l2src_get_read (GstV4l2Src * v4l2src, GstBuffer ** buf) do { *buf = gst_v4l2src_buffer_new (v4l2src, buffersize, NULL, NULL); GST_BUFFER_OFFSET (*buf) = GST_BUFFER_OFFSET_NONE; - gst_buffer_set_caps (*buf, GST_PAD_CAPS (v4l2src->srcpad)); amount = read (GST_V4L2ELEMENT (v4l2src)->video_fd, GST_BUFFER_DATA (*buf), -- cgit v1.2.1