summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/usbvision/usbvision-video.c
diff options
context:
space:
mode:
authorNikola Forró <nikola.forro@gmail.com>2015-12-20 09:57:17 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-02-01 07:35:59 -0200
commit80fa4f07fd6d33500b26275a5405d5b49cf2ff6a (patch)
treeb571c1bfff785242f14d3a1f8d54c4450126a63a /drivers/media/usb/usbvision/usbvision-video.c
parent9f1830206d5e2c6fc85185de4d22c5188ff00232 (diff)
downloadlinux-80fa4f07fd6d33500b26275a5405d5b49cf2ff6a.tar.bz2
[media] usbtv: discard redundant video fields
There are many dropped fields with some sources, leading to many redundant fields without counterparts. When this redundant field is odd, a new frame is pushed containing this odd field interleaved with whatever was left in the buffer, causing video artifacts. Do not push a new frame after processing every odd field, but do it only after those which come after an even field. Signed-off-by: Nikola Forró <nikola.forro@gmail.com> Acked-by: Lubomir Rintel <lkundrak@v3.sk> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/usbvision/usbvision-video.c')
0 files changed, 0 insertions, 0 deletions