Skip to content

Commit

Permalink
Revert "Use MMAL zero copy on encoder output"
Browse files Browse the repository at this point in the history
This reverts commit bbb5aa4.

Something odd going on with zero-copy in the test suite. A few images
come out corrupt when it's active on the output port; it's rare (maybe
one in every 500 or so images) but it seems to be repeatable.
  • Loading branch information
waveform80 committed Feb 8, 2017
1 parent cbd02d4 commit 34b5df5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion picamera/encoders.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,6 @@ def start(self, output):
self.exception = None
self._open_output(output)
with self.parent._encoders_lock:
self.output_port.params[mmal.MMAL_PARAMETER_ZERO_COPY] = True
self.output_port.enable(self._callback)
if self.DEBUG > 0:
mo.print_pipeline(self.output_port)
Expand Down

0 comments on commit 34b5df5

Please sign in to comment.