diff options
author | Brandon Philips <brandon@ifup.org> | 2007-11-06 15:23:08 -0800 |
---|---|---|
committer | Brandon Philips <brandon@ifup.org> | 2007-11-06 15:23:08 -0800 |
commit | 89a37f5497d1676d989c8c92da8866d5aaff5ee7 (patch) | |
tree | 14ea977f20ea1a80824672e210f9d8f1bc910152 /linux/include | |
parent | e1d136377eb805eeda536a35af62204f0780acb2 (diff) | |
download | mediapointer-dvb-s2-89a37f5497d1676d989c8c92da8866d5aaff5ee7.tar.gz mediapointer-dvb-s2-89a37f5497d1676d989c8c92da8866d5aaff5ee7.tar.bz2 |
V4L: videobuf: convert streaming and reading to bitfields
Signed-off-by: Brandon Philips <bphilips@suse.de>
Diffstat (limited to 'linux/include')
-rw-r--r-- | linux/include/media/videobuf-core.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/include/media/videobuf-core.h b/linux/include/media/videobuf-core.h index 7bc7d3cf0..dea9c53fe 100644 --- a/linux/include/media/videobuf-core.h +++ b/linux/include/media/videobuf-core.h @@ -166,12 +166,12 @@ struct videobuf_queue { struct videobuf_queue_ops *ops; struct videobuf_qtype_ops *int_ops; + unsigned int streaming:1; + unsigned int reading:1; /* capture via mmap() + ioctl(QBUF/DQBUF) */ - unsigned int streaming; struct list_head stream; /* capture via read() */ - unsigned int reading; unsigned int read_off; struct videobuf_buffer *read_buf; |