aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2011-02-13 15:53:07 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 19:32:22 -0400
commit058caa878476a09159e2fcc65463b9174c4fde8d (patch)
treed187210f196819cbd53cdaad84f8118a97ebd2cc /drivers/media/video/pvrusb2
parent6188a0f151204d6f895822e8c0059b8951879a42 (diff)
[media] pvrusb2: Minor VBI tweak to help potential CC support
pvrusb2: Declare closed-caption setup for line 21 - this is needed for sliced VBI capture support. (However none of that works right now anyway.) Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/pvrusb2')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-hdw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
index 48859370c57b..d33dd61de263 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-hdw.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-hdw.c
@@ -2033,6 +2033,8 @@ static void pvr2_hdw_cx25840_vbi_hack(struct pvr2_hdw *hdw)
2033 hdw->decoder_client_id); 2033 hdw->decoder_client_id);
2034 memset(&fmt, 0, sizeof(fmt)); 2034 memset(&fmt, 0, sizeof(fmt));
2035 fmt.type = V4L2_BUF_TYPE_SLICED_VBI_CAPTURE; 2035 fmt.type = V4L2_BUF_TYPE_SLICED_VBI_CAPTURE;
2036 fmt.fmt.sliced.service_lines[0][21] = V4L2_SLICED_CAPTION_525;
2037 fmt.fmt.sliced.service_lines[1][21] = V4L2_SLICED_CAPTION_525;
2036 v4l2_device_call_all(&hdw->v4l2_dev, hdw->decoder_client_id, 2038 v4l2_device_call_all(&hdw->v4l2_dev, hdw->decoder_client_id,
2037 vbi, s_sliced_fmt, &fmt.fmt.sliced); 2039 vbi, s_sliced_fmt, &fmt.fmt.sliced);
2038} 2040}