[media] v4l: add V4L2_CID_MPEG_VIDEO_FORCE_KEY_FRAME
authorWu-Cheng Li <wuchengli@chromium.org>
Tue, 19 Jan 2016 07:07:09 +0000 (05:07 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 19 Feb 2016 10:10:35 +0000 (08:10 -0200)
commitcedc12108b55d0c571da883a4083977af612dcce
tree2e46ab35ecb5de2041bf5ef474078fc43ed73f2b
parent3e71da19f9dc22e39a755d6ae9678661abb66adc
[media] v4l: add V4L2_CID_MPEG_VIDEO_FORCE_KEY_FRAME

Some drivers also need a control like
V4L2_CID_MPEG_MFC51_VIDEO_FORCE_FRAME_TYPE to force an encoder
key frame. Add a general V4L2_CID_MPEG_VIDEO_FORCE_KEY_FRAME
so the new drivers and applications can use it.

Signed-off-by: Wu-Cheng Li <wuchengli@chromium.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Documentation/DocBook/media/v4l/controls.xml
drivers/media/v4l2-core/v4l2-ctrls.c
include/uapi/linux/v4l2-controls.h