docs/Submodules.md
Add a new remote to LAV Filters and FFmpeg submodules:
git remote add upstream https://github.com/Nevcairiel/LAVFilters.git in src/thirdparty/LAVFilters/srcgit remote add upstream git://git.1f0.de/ffmpeg.git in src/thirdparty/LAVFilters/src/ffmpegWarning: 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.
git remote update to update remotesgit reset origin/master --hard to clean up local repository (beware that you will lose all local commits)git rebase upstream/master to update FFmpeggit tag mpc-hc-X.Y.Z-N where X.Y.Z is the latest MPC-HC version
and N is the number of LAV Filters updates since that releasegit push --force --tags origin master to update our FFmpeg repositorygit remote update to update remotesgit reset origin/master --hard to clean up local repository (beware you will lose all local commits)git rebase upstream/master to update LAV Filtersgit tag mpc-hc-X.Y.Z-N where X.Y.Z is the latest MPC-HC version
and N is the number of LAV Filters updates since that releasegit push --force --tags origin master to update our LAV Filters repository