Opened 7 years ago
Closed 7 years ago
#55894 closed defect (fixed)
gegl: fails to build against ffmpeg-devel
Reported by: | Ionic (Mihai Moldovan) | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.99 |
Keywords: | Cc: | ||
Port: | gegl |
Description
:info:build ff-load.c:312:36: error: use of undeclared identifier 'CODEC_CAP_TRUNCATED' :info:build if (p->codec->capabilities & CODEC_CAP_TRUNCATED) :info:build ^ :info:build ff-load.c:313:26: error: use of undeclared identifier 'CODEC_FLAG_TRUNCATED' :info:build p->enc->flags |= CODEC_FLAG_TRUNCATED; :info:build ^ :info:build 9 warnings and 2 errors generated.
Not sure if these can be easily patched out and whether that's the only part that the build will stumble upon.
gegl
0.2 is dead, only used by the stable gimp2
port; users of the ffmpeg
port will only hit this problem as soon as ffmpeg
releases a new version (given that the last one was released half a year ago, chances aren't too bad that it will happen some time soonish).
Attachments (1)
Change History (4)
Changed 7 years ago by Ionic (Mihai Moldovan)
Attachment: | gegl-ffmpeg-devel.log added |
---|
comment:1 Changed 7 years ago by dbevans (David B. Evans)
comment:2 Changed 7 years ago by dbevans (David B. Evans)
See #55389 for a similar problem with gegl-devel (and probably gegl-0.3 as well).
comment:3 Changed 7 years ago by dbevans (David B. Evans)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Yes, ffmpeg-devel breaks both API and ABI with the current ffmpeg, both signs that a new major release with API changes will be coming before long.
In the case of GEGL, the constants CODEC_CAP_TRUNCATED and CODEC_FLAG_TRUNCATED where renamed to AV_CODEC_CAP_TRUNCATED and AV_CODEC_FLAG_TRUNCATED several years ago.
The current ffmpeg version includes aliases of the form
In the latest ffrmpeg-devel these aliases have finally been dropped. The fix is relatively simple and I'm testing it now. Both ffmpeg and ffmpeg-devel recognize the newer API.
There's likely to be similar problems with other ffmpeg dependents when building with ffmpeg-devel.