From: Hans Verkuil <hans.verkuil@xxxxxxxxx> Copy tags in vim2m. Signed-off-by: Hans Verkuil <hans.verkuil@xxxxxxxxx> --- drivers/media/platform/vim2m.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/platform/vim2m.c b/drivers/media/platform/vim2m.c index d82db738f174..e6ae5a9ac77e 100644 --- a/drivers/media/platform/vim2m.c +++ b/drivers/media/platform/vim2m.c @@ -245,9 +245,12 @@ static int device_process(struct vim2m_ctx *ctx, if (in_vb->flags & V4L2_BUF_FLAG_TIMECODE) out_vb->timecode = in_vb->timecode; + else if (in_vb->flags & V4L2_BUF_FLAG_TAG) + out_vb->tag = in_vb->tag; out_vb->field = in_vb->field; out_vb->flags = in_vb->flags & (V4L2_BUF_FLAG_TIMECODE | + V4L2_BUF_FLAG_TAG | V4L2_BUF_FLAG_KEYFRAME | V4L2_BUF_FLAG_PFRAME | V4L2_BUF_FLAG_BFRAME | -- 2.19.1