v4l2bufferpool: Only return eos for M2M devices
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Fri, 13 Jul 2018 20:02:02 +0000 (16:02 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Sat, 14 Jul 2018 02:58:57 +0000 (22:58 -0400)
commit3b364cea941478e1b31b437755b92c63171a1d51
tree8252753bd64ba2e47aac13aa49d6cb0f70d4993e
parent3735e57fb2733d7d0937b9142f84e71f61a84fab
v4l2bufferpool: Only return eos for M2M devices

This will avoid sending EOS on v4l2src when a driver sends an empty
buffers. This case would be a bug in the driver, but yet the camera
should keep running.

This also removes the check for corrupted buffers, as this check is
already done later.

https://bugzilla.gnome.org/show_bug.cgi?id=794842
sys/v4l2/gstv4l2bufferpool.c