]> git.sesse.net Git - vlc/commit
v4l2: fix step-wise and continuous frame sizes enumeration
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 31 Oct 2011 16:55:46 +0000 (18:55 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 31 Oct 2011 16:57:58 +0000 (18:57 +0200)
commit8853c7521d3c7e2ebe762a5024fae0edea937f46
tree68c23b555d6557f7a4b3e39db95736464ad56972
parentb79c09ceb5d3f0117fd231b54a21fb06e255fd61
v4l2: fix step-wise and continuous frame sizes enumeration

Width and height are independent for step-wise frame sizes (yes,
enumerating is slow). Continuous frame sizes are step-size with one
pixel steps for both dimensions (yes, enumerationg is very slow).

A few device drivers use either of those two types, though the discrete
type is much more common.
modules/access/v4l2/demux.c