Commit 5f89255b authored by Edgard Gusmão Lima's avatar Edgard Gusmão Lima
Browse files

Fix to work in read mode.

Original commit message from CVS:
Fix to work in read mode.
parent 70296aee
......@@ -739,7 +739,6 @@ gst_v4l2src_get_read (GstV4l2Src * v4l2src, GstBuffer ** buf)
do {
*buf = gst_v4l2src_buffer_new (v4l2src, buffersize, NULL, NULL);
gst_buffer_set_caps (*buf, GST_PAD_CAPS (v4l2src->srcpad));
amount =
read (GST_V4L2ELEMENT (v4l2src)->video_fd, GST_BUFFER_DATA (*buf),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment