linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] em28xx: Fix height setting on non-progressive captures
@ 2012-08-03 17:52 Ezequiel Garcia
  2012-08-03 18:11 ` Ezequiel Garcia
  2012-08-12 10:08 ` Mauro Carvalho Chehab
  0 siblings, 2 replies; 9+ messages in thread
From: Ezequiel Garcia @ 2012-08-03 17:52 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: linux-media, Ezequiel Garcia

This was introduced on commit c2a6b54a9:
"em28xx: fix: don't do image interlacing on webcams"
It is a known bug that has already been reported several times
and confirmed by Mauro.
Tested by compilation only.

Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
---
Hi,

I have no idea why this hasn't been fixed before.

See this mail for Mauro's confirmation
http://www.digipedia.pl/usenet/thread/18550/7691/#post7685
where he requested a patch on reporter. 

I guess the patch never came in.

Regards,
Ezequiel.
---
 drivers/media/video/em28xx/em28xx-core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/media/video/em28xx/em28xx-core.c b/drivers/media/video/em28xx/em28xx-core.c
index de2cb20..6daa861 100644
--- a/drivers/media/video/em28xx/em28xx-core.c
+++ b/drivers/media/video/em28xx/em28xx-core.c
@@ -786,7 +786,7 @@ int em28xx_resolution_set(struct em28xx *dev)
 		dev->vbi_height = 18;
 
 	if (!dev->progressive)
-		height >>= norm_maxh(dev);
+		height = height / 2;
 
 	em28xx_set_outfmt(dev);
 
-- 
1.7.4.4


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-08-12 10:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-03 17:52 [PATCH] em28xx: Fix height setting on non-progressive captures Ezequiel Garcia
2012-08-03 18:11 ` Ezequiel Garcia
2012-08-03 18:26   ` Devin Heitmueller
2012-08-03 18:42     ` Ezequiel Garcia
2012-08-03 18:55       ` Devin Heitmueller
2012-08-03 19:02         ` Ezequiel Garcia
2012-08-04  8:53           ` llarevo
2012-08-12  8:56             ` Mauro Carvalho Chehab
2012-08-12 10:08 ` Mauro Carvalho Chehab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).