Skip to content
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

Can't compile with latest libavcodec versions #125

Closed
csillag opened this issue Nov 21, 2022 · 1 comment
Closed

Can't compile with latest libavcodec versions #125

csillag opened this issue Nov 21, 2022 · 1 comment

Comments

@csillag
Copy link

csillag commented Nov 21, 2022

Compiling with libavcodec-dev 5.1.2 fails with this message:

src/helpers/Recorder.cpp:402:31: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
  402 |  _codec = avcodec_find_encoder(outFormat.avid);
      |           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
      |                               |
      |                               const AVCodec*

On the same system, compilation works fine after downgrading libavcodec (and assorted packages) to 4.3.x

It would be nice if it could be updated to be compatible with latest ffmpeg.

@csillag csillag added the bug label Nov 21, 2022
@kosua20
Copy link
Owner

kosua20 commented Nov 25, 2022

This has been fixed thanks to a merged pull request (#118) (bbf9d46). I'll try to update the FFMPEG version used in the release pipeline soon.

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

No branches or pull requests

2 participants