diff options
author | Mike Isely <isely@pobox.com> | 2009-06-20 12:50:14 -0500 |
---|---|---|
committer | Mike Isely <isely@pobox.com> | 2009-06-20 12:50:14 -0500 |
commit | 3ca980b27b7bbe0fea6a05ff9f978afe87e9f72b (patch) | |
tree | 96965ba2515c5a374f29098d69b77d5541515e49 /linux/drivers/media/video | |
parent | 425ae9ead3f700da2ef961eec1d70a603445ce42 (diff) | |
download | mediapointer-dvb-s2-3ca980b27b7bbe0fea6a05ff9f978afe87e9f72b.tar.gz mediapointer-dvb-s2-3ca980b27b7bbe0fea6a05ff9f978afe87e9f72b.tar.bz2 |
pvrusb2: Re-fix hardware scaling on video standard change
From: Mike Isely <isely@pobox.com>
The cx25840 module's VBI initialization logic uses the current video
standard as part of its internal algorithm. This therefore means that
we probably need to make sure that the correct video standard has been
set before initializing VBI. (Normally we would not care about VBI,
but as described in an earlier changeset, VBI must be initialized
correctly on the cx25840 in order for the chip's hardware scaler to
operate correctly.)
It's kind of messy to force the video standard to be set before
initializing VBI (mainly because we can't know what the app really
wants that early in the initialization process). So this patch does
the next best thing: VBI is re-initialized after any point where the
video standard has been set.
Priority: high
Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c index aeb2108e8..7b685c25c 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-hdw.c @@ -2982,6 +2982,7 @@ static void pvr2_subdev_update(struct pvr2_hdw *hdw) vs = hdw->std_mask_cur; v4l2_device_call_all(&hdw->v4l2_dev, 0, core, s_std, vs); + pvr2_hdw_cx25840_vbi_hack(hdw); } hdw->tuner_signal_stale = !0; hdw->cropcap_stale = !0; |