boundarydevices / linux

Kernel tree for Boundary Devices platforms
194 stars 290 forks source link

video4linux2: mxc: fill in frame sequence number on capture #28

Closed johannesthoma closed 7 years ago

johannesthoma commented 7 years ago

Hello again,

This is a little patch that - in addition to the timestamp field - also fills the sequence field in a VIDIOC_DQBUF ioctl, which was not implemented before. I reset the per-camera sequence counter on every open(2) on the device, if you have an idea for a better place please let me know. Also I am not sure which of the branches are currently under development, so for now I just fixed it in the 4.1.15 based branch. If you name me other branches then I could provide patches for them as well.

Best regards,

johannesthoma commented 7 years ago

Hi, I am closing this pull request for now and will create a new one (with an extra commit) soon.