Skip to content

Added support for libavcodec 62#29

Merged
aramg merged 3 commits into
dev47apps:masterfrom
kjetteren:master
Oct 13, 2025
Merged

Added support for libavcodec 62#29
aramg merged 3 commits into
dev47apps:masterfrom
kjetteren:master

Conversation

@kjetteren

Copy link
Copy Markdown
Contributor

Changes:

  • Changed the deprecated FF_PROFILE_AAC_LOW to AV_PROFILE_AAC_LOW
  • Removed an avcodec version check to allow compatibility with libavcodec 62

Tested on:
Arch Linux with libavcodec 62 and OBS Studio 32.0.1. Plugin loads and functions as expected.

@aramg

aramg commented Oct 5, 2025

Copy link
Copy Markdown
Collaborator

Thanks, but

  1. The use of AV_PROFILE_AAC_LOW should be inside #if/#else/#endif based on LIBAVCODEC_VERSION_INT
  2. You should not delete the runtime version check

@kjetteren

Copy link
Copy Markdown
Contributor Author

Sorry for the confusion. I was testing against the wrong plugin build, which caused the runtime check to fail and led me to remove it. I've now added the AAC profile guard, as suggested, and tested it with the correct build. The plugin loads and functions as expected.

archlinux-github pushed a commit to archlinux/aur that referenced this pull request Oct 6, 2025
The build process appears to have broken related to libavcodec62

kjetteren opened a pull request upstream:
dev47apps/droidcam-obs-plugin#29

Added libavcodec62-fix.patch for now to allow this package to
build.
@aramg
aramg merged commit 73ec2a0 into dev47apps:master Oct 13, 2025
@fracek

fracek commented Jan 30, 2026

Copy link
Copy Markdown

Hello, is it possible to have a new release with this fix so that it can be included in NixOS? Thank you again for the project 🙏

@aramg

aramg commented Jan 30, 2026

Copy link
Copy Markdown
Collaborator

OK. v2.4.3 release was created with the latest changes in master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants