diff options
author | Jason Chen <b02280@freescale.com> | 2009-12-25 09:41:53 +0800 |
---|---|---|
committer | Alejandro Gonzalez <alex.gonzalez@digi.com> | 2010-05-24 11:50:02 +0200 |
commit | 3676d4df668f467dfc02041c2b3648e1be92d636 (patch) | |
tree | 1ecaf5707e0649f1ad005ddfca83733d299306c5 /drivers/media/video | |
parent | 6a0e111a03448b94e325b74ade8df7096d56addd (diff) |
ENGR00119578 v4l2 output: fix fb setting for display 5
when Cropping happen, for display 5(tvout), fb setting still need keep
as org.
Signed-off-by: Jason Chen <b02280@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/mxc/output/mxc_v4l2_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/mxc/output/mxc_v4l2_output.c b/drivers/media/video/mxc/output/mxc_v4l2_output.c index 5dc38761335b..5643aa3f8029 100644 --- a/drivers/media/video/mxc/output/mxc_v4l2_output.c +++ b/drivers/media/video/mxc/output/mxc_v4l2_output.c @@ -1289,8 +1289,8 @@ static int mxc_v4l2out_streamon(vout_data * vout) vout->yres = fbvar.yres; } - fbvar.xres_virtual = out_width; - fbvar.yres_virtual = out_height * 2; + fbvar.xres_virtual = fbvar.xres; + fbvar.yres_virtual = fbvar.yres * 2; } if (out_width == vout->v2f.fmt.pix.width && |