OSDN Git Service

staging: media/platform/bcm2835: remove gstreamer workaround
authorKevin Wern <kevin.m.wern@gmail.com>
Tue, 11 Apr 2017 22:17:02 +0000 (18:17 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Apr 2017 11:54:24 +0000 (13:54 +0200)
commitbaa7a586b5b4195268d53c5a69bbcd7db4ce19f2
tree2c879bd7c08e2a4ef17208bfcd786825adaa2358
parent7c1c43615d784833f84d27e26d2fd046dea5f435
staging: media/platform/bcm2835: remove gstreamer workaround

Gstreamer's v4l2src reacted poorly to certain outputs from the bcm2835
video driver's ioctl ops function vidioc_enum_framesizes, so a
workaround was created that could be activated by user input. This
workaround would replace the driver's ioctl ops struct with another,
similar struct--only with no function pointed to by
vidioc_enum_framesizes. With no response, gstreamer would attempt to
continue with some default settings that happened to work better.

However, this bug has been fixed in gstreamer since 2014, so we
shouldn't include this workaround in the stable version of the driver.

Signed-off-by: Kevin Wern <kevin.m.wern@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/bcm2835-camera/TODO
drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c