|
@@ -740,7 +740,8 @@ static int s5p_mfc_dec_g_v_ctrl(struct v4l2_ctrl *ctrl)
|
|
|
ctx->state < MFCINST_ABORT) {
|
|
|
ctrl->val = ctx->pb_count;
|
|
|
break;
|
|
|
- } else if (ctx->state != MFCINST_INIT) {
|
|
|
+ } else if (ctx->state != MFCINST_INIT &&
|
|
|
+ ctx->state != MFCINST_RES_CHANGE_END) {
|
|
|
v4l2_err(&dev->v4l2_dev, "Decoding not initialised\n");
|
|
|
return -EINVAL;
|
|
|
}
|