diff options
author | Edgard Lima <edgard.lima@indt.org.br> | 2007-11-15 12:22:10 +0000 |
---|---|---|
committer | Edgard Lima <edgard.lima@indt.org.br> | 2007-11-15 12:22:10 +0000 |
commit | 66ca1b2280a918d3bd7c7ce09ec22d485be34666 (patch) | |
tree | ae256a076c31d42542f63cd4656e1e137f77eadc /sys/v4l2/gstv4l2src.h | |
parent | 62d8456eb715a3cb849ca0f14d2182fe5229ddf4 (diff) |
Always copy buffers by default (handle safer with bugged drivers) and added a property to make it possible to use mma...
Original commit message from CVS:
Always copy buffers by default (handle safer with bugged drivers) and added a property to make it possible to use mmap effectively (no copy if possible) when application wants to. Fixes: #480557.
Diffstat (limited to 'sys/v4l2/gstv4l2src.h')
-rw-r--r-- | sys/v4l2/gstv4l2src.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/v4l2/gstv4l2src.h b/sys/v4l2/gstv4l2src.h index f4677458..ae7aa74e 100644 --- a/sys/v4l2/gstv4l2src.h +++ b/sys/v4l2/gstv4l2src.h @@ -101,6 +101,9 @@ struct _GstV4l2Src gboolean use_mmap; guint32 frame_byte_size; + /* if the buffer will be or not used from directly mmap */ + gboolean always_copy; + /* True if we want to stop */ gboolean quit; gboolean is_capturing; |