[vlc-commits] Obsolete --v4l2-io and auto-detect the correct setting

Rémi Denis-Courmont git at videolan.org
Thu Sep 1 20:17:46 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Sep  1 19:24:09 2011 +0300| [3e70d9b6fdb7e50a482eec81b938079a2a289d0e] | committer: Rémi Denis-Courmont

Obsolete --v4l2-io and auto-detect the correct setting

For the time being, mmap() is used if supported, otherwise read() if
supported, otherwise fail. This makes the user pointer method dead
code. It might make sense to revive it on capable device drivers to
support zero copy, but until then that method is no better than mmap().

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3e70d9b6fdb7e50a482eec81b938079a2a289d0e
---

 modules/access/v4l2.c |  162 ++++++++++--------------------------------------
 1 files changed, 34 insertions(+), 128 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=3e70d9b6fdb7e50a482eec81b938079a2a289d0e


More information about the vlc-commits mailing list