mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
staging/bcm2835-camera: Add support for MPEG_VIDEO_FORCE_KEY_FRAME
Signed-off-by: Gergo Koteles <soyer@irl.hu>
This commit is contained in:
committed by
Dom Cobley
parent
83d097beea
commit
3399ca409a
@@ -13,7 +13,7 @@
|
||||
* core driver device
|
||||
*/
|
||||
|
||||
#define V4L2_CTRL_COUNT 31 /* number of v4l controls */
|
||||
#define V4L2_CTRL_COUNT 32 /* number of v4l controls */
|
||||
|
||||
enum {
|
||||
COMP_CAMERA = 0,
|
||||
|
||||
@@ -1286,6 +1286,17 @@ static const struct bcm2835_mmal_v4l2_ctrl v4l2_ctrls[V4L2_CTRL_COUNT] = {
|
||||
.mmal_id = MMAL_PARAMETER_VIDEO_ENCODE_MAX_QUANT,
|
||||
.setter = ctrl_set_video_encode_param_output,
|
||||
},
|
||||
{
|
||||
.id = V4L2_CID_MPEG_VIDEO_FORCE_KEY_FRAME,
|
||||
.type = MMAL_CONTROL_TYPE_STD,
|
||||
.min = 0,
|
||||
.max = 0,
|
||||
.def = 0,
|
||||
.step = 0,
|
||||
.imenu = NULL,
|
||||
.mmal_id = MMAL_PARAMETER_VIDEO_REQUEST_I_FRAME,
|
||||
.setter = ctrl_set_video_encode_param_output,
|
||||
},
|
||||
};
|
||||
|
||||
int bcm2835_mmal_set_all_camera_controls(struct bcm2835_mmal_dev *dev)
|
||||
|
||||
Reference in New Issue
Block a user