video: driver: Allow priority control in streaming state
Allow priority control in streaming state Change-Id: I98a0983026fdb37f6a5b94fb73082032158a7743 Signed-off-by: Manikanta Kanamarlapudi <kmanikan@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
9635a177c9
commit
8c7c63ec2d
@@ -1095,6 +1095,7 @@ bool msm_vidc_allow_s_ctrl(struct msm_vidc_inst *inst, u32 id)
|
||||
if (inst->vb2q[INPUT_PORT].streaming) {
|
||||
switch (id) {
|
||||
case V4L2_CID_MPEG_VIDC_CODEC_CONFIG:
|
||||
case V4L2_CID_MPEG_VIDC_PRIORITY:
|
||||
allow = true;
|
||||
break;
|
||||
default:
|
||||
@@ -1132,6 +1133,7 @@ bool msm_vidc_allow_s_ctrl(struct msm_vidc_inst *inst, u32 id)
|
||||
case V4L2_CID_MPEG_VIDEO_CONSTANT_QUALITY:
|
||||
case V4L2_CID_MPEG_VIDC_ENC_INPUT_COMPRESSION_RATIO:
|
||||
case V4L2_CID_MPEG_VIDEO_BITRATE_PEAK:
|
||||
case V4L2_CID_MPEG_VIDC_PRIORITY:
|
||||
allow = true;
|
||||
break;
|
||||
default:
|
||||
|
Reference in New Issue
Block a user