Add a new remote to LAV Filters and FFmpeg submodules:
- for LAV Filters,
git remote add upstream https://github.com/Nevcairiel/LAVFilters.gitin src/thirdparty/LAVFilters/src - for FFmpeg,
git remote add upstream git://git.1f0.de/ffmpeg.gitin src/thirdparty/LAVFilters/src/ffmpeg
Warning: Before updating LAV Filters always makes sure that no update is required on MPC-HC side. If there are some changes in LAV Filters interfaces or settings, some changes are likely to be needed in MPC-HC. If the update breaks compatibility with older LAV Filters versions, remember to update the version check in FGFilterLAV.cpp.
- Checkout the master branch in FFmpeg submodule (src/thirdparty/LAVFilters/src/ffmpeg)
- Do
git remote updateto update remotes - Do
git reset origin/master --hardto clean up local repository (beware that you will lose all local commits) - Do
git rebase upstream/masterto update FFmpeg - Apply new custom patches, if any
- Do
git tag mpc-hc-X.Y.Z-Nwhere X.Y.Z is the latest MPC-HC version and N is the number of LAV Filters updates since that release - Do
git push --force --tags origin masterto update our FFmpeg repository - Checkout the master branch in LAV Filters submodule (src/thirdparty/LAVFilters/src)
- Do
git remote updateto update remotes - Do
git reset origin/master --hardto clean up local repository (beware you will lose all local commits) - Do
git rebase upstream/masterto update LAV Filters - Apply new custom patches if any
- Do
git tag mpc-hc-X.Y.Z-Nwhere X.Y.Z is the latest MPC-HC version and N is the number of LAV Filters updates since that release - Do
git push --force --tags origin masterto update our LAV Filters repository - Commit the submodule update in MPC-HC repository