首页 > 代码库 > v4l2 下载

v4l2 下载

To clone the master development repository, install git, and run:

git clone git://github.com/torvalds/linux.git v4l-dvb
cd v4l-dvb
git remote add linuxtv git://linuxtv.org/media_tree.git
git remote update
git checkout -b media-master remotes/linuxtv/master

If you want to clone a different repository, just replace the URL at the

git remote add line above.

In order to update your repository, you should do:

git pull . remotes/linuxtv/master

And to put your work on top of a stanging branch:

git rebase remotes/linuxtv/master