[vlc-commits] v4l2: duplicate InitVideo() for access and access_demux
Rémi Denis-Courmont
git at videolan.org
Tue Mar 20 22:46:53 CET 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Mar 20 23:45:15 2012 +0200| [58875422e979c17e507f7295be552e308e4ba812] | committer: Rémi Denis-Courmont
v4l2: duplicate InitVideo() for access and access_demux
There is not that much common code left for the access case, except for
debug messages. The resulting code is a lot easier to read IMHO.
Also I have no way to test the access plugin, so lets split it where it
will not get more broken.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=58875422e979c17e507f7295be552e308e4ba812
---
modules/access/v4l2/access.c | 125 +++++++++++-
modules/access/v4l2/demux.c | 454 ++++++++++++++++++++++++++++++++++++++++-
modules/access/v4l2/v4l2.h | 3 +-
modules/access/v4l2/video.c | 473 +-----------------------------------------
4 files changed, 581 insertions(+), 474 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=58875422e979c17e507f7295be552e308e4ba812
More information about the vlc-commits
mailing list