Does not compile with FFmpeg 7
It seems that the last stable version of gegl 0.4.48 does not compile with the new FFmpeg 7.
When I try to compile, I have this error:
./operations/external/ff-load.c:253:64: error: no member named 'channels' in 'struct AVCodecParameters'
DEBUG util.py:448: 253 | int channels = MIN(p->audio_stream->codecpar->channels, GEGL_MAX_AUDIO_CHANNELS);
DEBUG util.py:448: | ~~~~~~~~~~~~~~~~~~~~~~~~~ ^
DEBUG util.py:448: /usr/include/glib-2.0/glib/gmacros.h:936:23: note: expanded from macro 'MIN'
DEBUG util.py:448: 936 | #define MIN(a, b) (((a) < (b)) ? (a) : (b))
DEBUG util.py:448: | ^
DEBUG util.py:448: ../operations/external/ff-load.c:253:64: error: no member named 'channels' in 'struct AVCodecParameters'
DEBUG util.py:448: 253 | int channels = MIN(p->audio_stream->codecpar->channels, GEGL_MAX_AUDIO_CHANNELS);
DEBUG util.py:448: | ~~~~~~~~~~~~~~~~~~~~~~~~~ ^
DEBUG util.py:448: /usr/include/glib-2.0/glib/gmacros.h:936:36: note: expanded from macro 'MIN'
DEBUG util.py:448: 936 | #define MIN(a, b) (((a) < (b)) ? (a) : (b))
DEBUG util.py:448: | ^
DEBUG util.py:448: ../operations/external/ff-load.c:347:63: warning: 'ticks_per_frame' is deprecated [-Wdeprecated-declarations]
DEBUG util.py:448: 347 | , AV_TIME_BASE_Q, p->video_stream->time_base) / p->video_ctx->ticks_per_frame;
Full build log https://file-store.openmandriva.org/api/v1/file_stores/2616c428d55869877cd3835b48daed7c375a1993.log?show=true