[media] ivtv: fix incorrect service_set for the decoder VBI capture
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 5 Sep 2012 15:27:19 +0000 (12:27 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 1 Oct 2012 20:22:40 +0000 (17:22 -0300)
Found with v4l2-compliance.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/pci/ivtv/ivtv-ioctl.c

index 5537c88420752fced6cfb2ae70bc2262d9b7f67c..3b32518dbc02b1997433a6d174aa85ac113d9416 100644 (file)
@@ -398,6 +398,7 @@ static int ivtv_g_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_fo
                vbifmt->service_set = itv->is_50hz ? V4L2_SLICED_VBI_625 :
                        V4L2_SLICED_VBI_525;
                ivtv_expand_service_set(vbifmt, itv->is_50hz);
+               vbifmt->service_set = ivtv_get_service_set(vbifmt);
                return 0;
        }