|
@@ -901,6 +901,8 @@ static int vidioc_try_fmt(struct file *file, void *priv, struct v4l2_format *f)
|
|
mfc_err("failed to try output format\n");
|
|
mfc_err("failed to try output format\n");
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
}
|
|
}
|
|
|
|
+ v4l_bound_align_image(&pix_fmt_mp->width, 8, 1920, 1,
|
|
|
|
+ &pix_fmt_mp->height, 4, 1080, 1, 0);
|
|
} else {
|
|
} else {
|
|
mfc_err("invalid buf type\n");
|
|
mfc_err("invalid buf type\n");
|
|
return -EINVAL;
|
|
return -EINVAL;
|