Merge "video: driver: optimize thumbnail input buffer count"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

commit
c2501b7b53
@@ -658,13 +658,16 @@ int msm_v4l2_op_s_ctrl(struct v4l2_ctrl *ctrl)
|
||||
if (rc)
|
||||
return rc;
|
||||
}
|
||||
|
||||
if (ctrl->id == V4L2_CID_MPEG_VIDC_PRIORITY) {
|
||||
rc = msm_vidc_adjust_session_priority(inst, ctrl);
|
||||
if (rc)
|
||||
return rc;
|
||||
}
|
||||
|
||||
if (ctrl->id == V4L2_CID_MPEG_VIDC_THUMBNAIL_MODE) {
|
||||
rc = msm_vidc_update_buffer_count(inst, INPUT_PORT);
|
||||
if (rc)
|
||||
return rc;
|
||||
}
|
||||
if (is_meta_ctrl(ctrl->id)) {
|
||||
if (cap_id == META_DPB_TAG_LIST) {
|
||||
/*
|
||||
|
Reference in New Issue
Block a user