v4l2-ctl: the field setting of the initially queued buffer is wrong.
authorHans Verkuil <hans.verkuil@cisco.com>
Sun, 27 Jul 2014 13:28:03 +0000 (15:28 +0200)
committerHans Verkuil <hans.verkuil@cisco.com>
Sun, 27 Jul 2014 13:28:03 +0000 (15:28 +0200)
commit461d7378351a7efb6e5ac3d0ae9badf84af82228
treecaee2eac5c585ea50d865e560f460c7f823e50e4
parent58ad911e1efeca908e93eccb550e3615a6df5707
v4l2-ctl: the field setting of the initially queued buffer is wrong.

buf.field was set to the next field instead of the current field.
Reordered the code to keep both buf.field and tpg_s_field in sync.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
utils/v4l2-ctl/v4l2-ctl-streaming.cpp