Messages in this thread | | | Date | Tue, 08 Oct 2013 12:00:27 +0200 | From | Marek Szyprowski <> | Subject | Re: [PATCH] vb2: Allow STREAMOFF for io emulator |
| |
Hi Racardo,
On 2013-10-08 09:58, Ricardo Ribalda Delgado wrote: > Hi Marek > > Thanks for your comments. I was just trying to find a way to stop > streaming while in read/write mode without having to close the > descriptor. I thought reusing streamoff was more clever than creating > a new ioctl.
Read()/write() mode is mainly designed for old and legacy applications. Those applications assume that the only reliable way to stop streaming is to close the fd. New tools should use libv4l and ioctl-based api.
Best regards -- Marek Szyprowski Samsung R&D Institute Poland
| |