Skip to contentSkip to conversation

staging: media/platform/bcm2835: remove gstreamer workaround

PATCH New Kevin Wern 1 participant 1 message Apr 11, 2017

Subsystems (4)
lore
Share & tools
lore

Kevin Wern

author
#0 lore raw

PATCH v2 1/1 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.

---
V2: patch against staging-next instead of torvalds/master

 drivers/staging/vc04_services/bcm2835-camera/TODO  |  5 --
 .../vc04_services/bcm2835-camera/bcm2835-camera.c  | 60 ----------------------
 2 files changed, 65 deletions(-)
drivers/staging/vc04_services/bcm2835-camera/TODO +0 -5
index 61a5099..0ab9e88 100644
@@ -32,8 +32,3 @@ We should have VCHI create a platform device once it's initialized,
 and have this driver bind to it, so that we automatically load the
 v4l2 module after VCHI loads.
 
-5) Drop the gstreamer workaround.
-
-This was a temporary workaround for a bug that was fixed mid-2014, and
-we should remove it before stabilizing the driver.
-
drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c +0 -60

78 lines not on this page · raw message

Signature · 1 line
2.7.4