-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix compatibility with FFmpeg 5.0 #325
Conversation
6ce1f8a
to
b4f8f34
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you so much! I've tested this locally with ffmpeg 5.0 on my Mac laptop and it is working great. I just have some comments about the tests that have been commented out; hopefully we can re-enable them at least for the older versions of ffmpeg
av/src/AudioDecoder.cc
Outdated
if (ret == AVERROR(EAGAIN) || ret == AVERROR_EOF) | ||
{ | ||
break; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trailing whitespace
dea1014
to
abde9e4
Compare
I think I confused the label bot logic as I originally created the PR against |
Signed-off-by: Silvio Traversaro <silvio@traversaro.it>
Codecov Report
@@ Coverage Diff @@
## ign-common3 #325 +/- ##
============================================
Coverage 76.58% 76.58%
============================================
Files 73 73
Lines 10403 10403
============================================
Hits 7967 7967
Misses 2436 2436
Continue to review full report at Codecov.
|
I've opened osrf/homebrew-simulation#1833 to restore ffmpeg 5.0 as a dependency of ignition-common3 and a separate test PR #326 that will build against its matching branch name |
* Patch from gazebosim/gz-common#325 * update bottle. Co-authored-by: OSRF Build Bot <osrfbuild@osrfoundation.org>
Patch from gazebosim/gz-common#325 * Add ffmpeg dependency to ign-gazebo, ign-launch brew test-bot was complaining that ign-gazebo and ign-launch have "Undeclared dependencies with linkage" on ffmpeg@4. This adds an ffmpeg dependency to the edifice and fortress packages to accompany the ignition-common4 changes. Signed-off-by: Steve Peters <scpeters@openrobotics.org> * update bottle. Co-authored-by: OSRF Build Bot <osrfbuild@osrfoundation.org>
🦟 Bug fix
Fixes #306
Summary
This PR fixes compilation against FFmpeg 5.0 . It has been tested by using the conda-forge build of ffmpeg 5.0 on Linux, in particular with this deps:
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.