Skip to content

Commit

Permalink
V4L/DVB (6603): V4L: videobuf: convert streaming and reading to bitfi…
Browse files Browse the repository at this point in the history
…elds

Signed-off-by: Brandon Philips <bphilips@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Brandon Philips authored and Mauro Carvalho Chehab committed Jan 25, 2008
1 parent 0fc0686 commit d6964aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/media/videobuf-core.h
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,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;

Expand Down

0 comments on commit d6964aa

Please sign in to comment.