Intel developer staging area for upstream patch contributions to FFmpeg.
The upstream project is tracked as a submodule in this repo.
$ git clone https://github.com/intel-media-ci/cartwheel-ffmpeg --recursive
# at top-level directory
$ git submodule update --init --recursive
# at submodule directory
$ cd ffmpeg
# It is recommended to create a branch before applying the patches
$ git checkout -b <my new branch>
$ git am ../patches/*.patch
# at top-level directory
$ git pull --rebase --recurse-submodule
To update the submodule reference commit id to the latest upstream:
# at top-level directory
$ git submodule update --remote --recursive
$ git commit -sam "$(git diff --submodule | head -1 | sed 's/:$//')"
...verify the patches still apply successfully. If they don't apply, fix them and include in new commit(s).
For more information and examples about Git Submodules, see https://git-scm.com/book/en/v2/Git-Tools-Submodules