Laurent Pinchart wrote:
That's not what I meant. The idea of a count field is to report the number of events still pending after that one, type aside. If v4l2_event::count equals 0 the userspace application will know there is no need to call VIDIOC_G_EVENT just to get a -EAGAIN.
Thanks for the clarification. Sounds good to me, I'll put this to the next version. -- Sakari Ailus sakari.ailus@xxxxxxxxxxxxxxxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html