summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdgard Lima <edgard.lima@indt.org.br>2006-04-12 21:57:02 +0000
committerEdgard Lima <edgard.lima@indt.org.br>2006-04-12 21:57:02 +0000
commit86f9a0ed31021837b446812bf7778fb8a1835d5b (patch)
treef07812cc1a5c4acc66f4f3857a1a15fe3a054e37
parent6cf93d41458aaf34addf929c836f8f55bde79eae (diff)
downloadgst-plugins-bad-86f9a0ed31021837b446812bf7778fb8a1835d5b.tar.gz
gst-plugins-bad-86f9a0ed31021837b446812bf7778fb8a1835d5b.tar.bz2
gst-plugins-bad-86f9a0ed31021837b446812bf7778fb8a1835d5b.zip
Fix to work in read mode.
Original commit message from CVS: Fix to work in read mode.
-rw-r--r--ChangeLog5
-rw-r--r--sys/v4l2/gstv4l2src.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 10fa5c7b..4f9db408 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-04-12 Edgard Lima <edgard.lima@indt.org.br>
+
+ * sys/v4l2/gstv4l2src.c: (gst_v4l2src_get_read):
+ Fix to work in read mode.
+
2006-04-10 Wim Taymans <wim@fluendo.com>
* gst/qtdemux/qtdemux.c: (qtdemux_parse_trak):
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),