提交 c1ae0b28 编写于 作者: P Philipp Zabel 提交者: Mauro Carvalho Chehab

[media] coda: reset stream end in stop_streaming

Otherwise a restarted stream won't queue buffers.
Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
上级 5c718bb3
......@@ -1378,6 +1378,9 @@ static void coda_stop_streaming(struct vb2_queue *q)
ctx->runcounter = 0;
ctx->aborting = 0;
}
if (!ctx->streamon_out && !ctx->streamon_cap)
ctx->bit_stream_param &= ~CODA_BIT_STREAM_END_FLAG;
}
static const struct vb2_ops coda_qops = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册