qv4l2: add support for the new V4L2_CTRL_FLAG_VOLATILE flag.
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 7 Oct 2011 06:31:03 +0000 (08:31 +0200)
committerHans Verkuil <hans.verkuil@cisco.com>
Fri, 7 Oct 2011 06:31:03 +0000 (08:31 +0200)
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
utils/qv4l2/ctrl-tab.cpp

index d274440..beadaed 100644 (file)
@@ -803,6 +803,8 @@ QString ApplicationWindow::getCtrlFlags(unsigned flags)
                s += "update ";
        if (flags & V4L2_CTRL_FLAG_INACTIVE)
                s += "inactive ";
+       if (flags & V4L2_CTRL_FLAG_VOLATILE)
+               s += "volatile ";
        if (flags & V4L2_CTRL_FLAG_SLIDER)
                s += "slider ";
        if (s.length()) s = QString("\nFlags: ") + s;