|
@@ -1144,7 +1144,10 @@ static int vidioc_reqbufs(struct file *file, void *priv,
|
|
|
return -EINVAL;
|
|
|
if (reqbufs->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE) {
|
|
|
if (reqbufs->count == 0) {
|
|
|
+ mfc_debug(2, "Freeing buffers\n");
|
|
|
ret = vb2_reqbufs(&ctx->vq_dst, reqbufs);
|
|
|
+ s5p_mfc_hw_call(dev->mfc_ops, release_codec_buffers,
|
|
|
+ ctx);
|
|
|
ctx->capture_state = QUEUE_FREE;
|
|
|
return ret;
|
|
|
}
|