[vlc-devel] [PATCH 2/2] add V4L2 video_output module

Francois Cartegnie fcvlcdev at free.fr
Sat Jan 14 14:43:16 CET 2012


Le 14/01/2012 09:42, Rémi Denis-Courmont a écrit :
> It is dubious that you would need to copy pictures.

writev() doesn't help here. I have the same result as using many writes
for one picture.

> IIUC, streaming should be enabled in Open() to reserve the device.

API says ioctl returns EINVAL when
"Streaming I/O is not supported, the buffer type is not supported, or no
buffers have been allocated (memory mapping) or enqueued (output) yet."
I'm afraid we can't enable stream until we started buffering.

Francois



More information about the vlc-devel mailing list