Summary: | dev-qt/qtwebengine-5.9.3 with media-video/ffmpeg-3.5 - ffmpeg_audio_decoder.cc:56:35: error: ‘CODEC_CAP_DR1’ was not declared in this scope | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | iGentoo <AlphatPC> |
Component: | Current packages | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
qtwebengine-5.9.3-build.log.xz
patch to fix ffmpeg macros |
Description
iGentoo
2017-12-10 20:53:58 UTC
See also: https://chromium.googlesource.com/chromium/src.git/+/f673873becabef1261ec837c4509c3b22b805ea6 See https://bugreports.qt.io/browse/QTBUG-65086 qtwebengine is using deprecated macros that are removed in the latest ffmpeg. I have a patch that fixes this in qtwebengine-5.9.3 and may work for qtwebengine-5.9.4 (the patch applies to 5.9.4, not sure if it compiles, yet.) Right now I have a custom ebuild that applies the patch but isn't this something that should get fixed upstream? Thanks. Yep, this should definitely be fixed upstream (which in this case looks like chromium). Do you mind to attach your local patch here? Created attachment 518946 [details, diff]
patch to fix ffmpeg macros
This fixes the deprecated ffmpeg macros for qtwebengine-5.9.3 and maybe 5.9.4.
The deprecation notice for CODEC_FLAG_EMU_EDGE says to not set this from code so I just comment out the line that uses it.
Other than that this is just a bunch of renames.
Thanks.
(In reply to Michael Palimaka (kensington) from comment #3) > Yep, this should definitely be fixed upstream (which in this case looks like > chromium). > > Do you mind to attach your local patch here? I've attached the patch. Do I have to point out that this is "use at your own risk?" I'm not a dev for either ffmpeg or qt. Thanks. This is fixed in qtwebengine-chromium 65-based, which will likely be released in 5.11 (In reply to Michael Palimaka (kensington) from comment #6) > This is fixed in qtwebengine-chromium 65-based, which will likely be > released in 5.11 This turned out to be true, so this is has been fixed in gentoo.git for some time. |