mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:36:20 +00:00
Fix to work in read mode.
Original commit message from CVS: Fix to work in read mode.
This commit is contained in:
parent
70296aeee6
commit
5f89255beb
1 changed files with 0 additions and 1 deletions
|
@ -739,7 +739,6 @@ gst_v4l2src_get_read (GstV4l2Src * v4l2src, GstBuffer ** buf)
|
||||||
do {
|
do {
|
||||||
*buf = gst_v4l2src_buffer_new (v4l2src, buffersize, NULL, NULL);
|
*buf = gst_v4l2src_buffer_new (v4l2src, buffersize, NULL, NULL);
|
||||||
GST_BUFFER_OFFSET (*buf) = GST_BUFFER_OFFSET_NONE;
|
GST_BUFFER_OFFSET (*buf) = GST_BUFFER_OFFSET_NONE;
|
||||||
gst_buffer_set_caps (*buf, GST_PAD_CAPS (v4l2src->srcpad));
|
|
||||||
|
|
||||||
amount =
|
amount =
|
||||||
read (GST_V4L2ELEMENT (v4l2src)->video_fd, GST_BUFFER_DATA (*buf),
|
read (GST_V4L2ELEMENT (v4l2src)->video_fd, GST_BUFFER_DATA (*buf),
|
||||||
|
|
Loading…
Reference in a new issue