Re: [FFmpeg-devel] [PATCH 00/24] Major library version bump

2024-02-07 Thread James Almer

On 1/25/2024 1:23 PM, James Almer wrote:

On 1/25/2024 10:43 AM, James Almer wrote:
After this is committed, it will be open ABI season for a few weeks, 
but no
longer than a month. So if you want to do some cleaning (like removing 
avpriv_
functions, or moving field offsets from public strucs around), now is 
the time.


I was reminded that we got rid of this period, so if anyone has ABI 
breaking changes they want committed, please send a patch now, so it can 
be applied immediately before the bump.


Reminder to people to submit any ABI breaking changes they want in 
before this set is pushed.

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-devel] [PATCH 00/24] Major library version bump

2024-02-04 Thread James Almer

On 1/28/2024 9:31 AM, Anton Khirnov wrote:

Quoting James Almer (2024-01-25 14:43:23)

As the subject states, this set removes deprecated API scheduled for removal
in the past year, since the last major bump.


So what is the actual rule you used for deciding what to remove and what
to postpone?

Everything except

   avfilter: remove deprecated FF_API_LIBPLACEBO_OPTS

would match the "deprecated in 2 major releases" rule that's been
suggested a few times before.


Anything at least a year old and already deprecated in 5.1, i think, but 
i may have messed up somewhere.
I can skip the libplacebo one if that's what "deprecated in 2 major 
releases" requires.

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-devel] [PATCH 00/24] Major library version bump

2024-01-28 Thread Anton Khirnov
Quoting James Almer (2024-01-25 14:43:23)
> As the subject states, this set removes deprecated API scheduled for removal
> in the past year, since the last major bump.

So what is the actual rule you used for deciding what to remove and what
to postpone?

Everything except
>   avfilter: remove deprecated FF_API_LIBPLACEBO_OPTS
would match the "deprecated in 2 major releases" rule that's been
suggested a few times before.

-- 
Anton Khirnov
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".


Re: [FFmpeg-devel] [PATCH 00/24] Major library version bump

2024-01-25 Thread James Almer

On 1/25/2024 10:43 AM, James Almer wrote:

After this is committed, it will be open ABI season for a few weeks, but no
longer than a month. So if you want to do some cleaning (like removing avpriv_
functions, or moving field offsets from public strucs around), now is the time.


I was reminded that we got rid of this period, so if anyone has ABI 
breaking changes they want committed, please send a patch now, so it can 
be applied immediately before the bump.

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".


[FFmpeg-devel] [PATCH 00/24] Major library version bump

2024-01-25 Thread James Almer
As the subject states, this set removes deprecated API scheduled for removal
in the past year, since the last major bump.
After this is committed, it will be open ABI season for a few weeks, but no
longer than a month. So if you want to do some cleaning (like removing avpriv_
functions, or moving field offsets from public strucs around), now is the time.

Of particular interest is the removal of the old channel layout API. This means
decoders, demuxers and filters can now output custom and ambisonic layouts
without worrying the caller may not be aware of them because it only looked at
the old fields.

James Almer (24):
  avcodec: remove deprecated FF_API_IDCT_NONE
  avcodec: remove deprecated FF_API_SVTAV1_OPTS
  avcodec: remove deprecated FF_API_AYUV_CODECID
  avcodec: remove deprecated FF_API_VT_OUTPUT_CALLBACK
  avcodec: remove deprecated FF_API_AVCODEC_CHROMA_POS
  avcodec: remove deprecated FF_API_VT_HWACCEL_CONTEXT
  avcodec: remove deprecated FF_API_AVCTX_FRAME_NUMBER
  avcodec: remove deprecated FF_CODEC_CRYSTAL_HD
  avformat: remove deprecated FF_API_GET_END_PTS
  avformat: remove deprecated FF_API_AVIODIRCONTEXT
  avformat: remove deprecated FF_API_AVFORMAT_IO_CLOSE
  avfilter: remove deprecated FF_API_LIBPLACEBO_OPTS
  avutil: remove deprecated FF_API_FIFO_PEEK2
  avutil: remove deprecated FF_API_FIFO_OLD_API
  avutil: remove deprecated FF_API_XVMC
  avutil: remove deprecated FF_API_OLD_CHANNEL_LAYOUT
  avutil: remove deprecated FF_API_AV_FOPEN_UTF8
  avutil: remove deprecated FF_API_PKT_DURATION
  avutil: remove deprecated FF_API_REORDERED_OPAQUE
  avutil: remove deprecated FF_API_FRAME_PICTURE_NUMBER
  avcodec/version_major: postpone some deprecations until the next bump
  avformat/version_major: postpone some deprecations until the next bump
  avutil/version_major: postpone some deprecations until the next bump
  libs: bump major version for all libraries

 configure|  13 -
 doc/APIchanges   |   2 +-
 doc/ffprobe.xsd  |   4 -
 fftools/ffmpeg_filter.c  |   5 -
 fftools/ffmpeg_mux_init.c|  21 +-
 fftools/ffprobe.c|  12 -
 libavcodec/Makefile  |   1 -
 libavcodec/aac_ac3_parser.c  |   6 -
 libavcodec/aacdec.c  |   2 -
 libavcodec/aacdec_common.c   |  17 -
 libavcodec/aacdec_fixed.c|   1 -
 libavcodec/aacdec_template.c |   7 -
 libavcodec/aacdectab.h   |   4 -
 libavcodec/ac3dec.c  |   8 -
 libavcodec/ac3enc.c  |  24 -
 libavcodec/ac3enc.h  |   3 -
 libavcodec/ac3enc_fixed.c|   1 -
 libavcodec/ac3enc_float.c|   1 -
 libavcodec/alacenc.c |  16 -
 libavcodec/allcodecs.c   |  10 -
 libavcodec/aptxdec.c |   2 -
 libavcodec/aptxenc.c |   2 -
 libavcodec/audiotoolboxenc.c |  19 -
 libavcodec/avcodec.c |  34 -
 libavcodec/avcodec.h | 110 ---
 libavcodec/codec.h   |   7 -
 libavcodec/codec_desc.c  |   9 -
 libavcodec/codec_id.h|   3 -
 libavcodec/codec_internal.h  |  19 -
 libavcodec/codec_par.c   |  46 --
 libavcodec/codec_par.h   |  16 -
 libavcodec/crystalhd.c   | 826 ---
 libavcodec/dcadec.c  |  12 -
 libavcodec/dcaenc.c  |   3 -
 libavcodec/decode.c  |  72 --
 libavcodec/diracdec.c|  15 -
 libavcodec/dolby_e.c |   7 -
 libavcodec/eac3enc.c |   1 -
 libavcodec/encode.c  |  16 -
 libavcodec/g722enc.c |   1 -
 libavcodec/get_buffer.c  |   6 -
 libavcodec/h264_slice.c  |   5 -
 libavcodec/libcodec2.c   |   2 -
 libavcodec/libdav1d.c|  22 +-
 libavcodec/libfdk-aacdec.c   |   8 -
 libavcodec/libfdk-aacenc.c   |  23 -
 libavcodec/libgsmenc.c   |   2 -
 libavcodec/libmp3lame.c  |   1 -
 libavcodec/librav1e.c|  13 -
 libavcodec/libshine.c|   1 -
 libavcodec/libspeexenc.c |   1 -
 libavcodec/libsvtav1.c   |  48 --
 libavcodec/libtwolame.c  |   1 -
 libavcodec/libuavs3d.c   |   6 -
 libavcodec/libvpxenc.c   |  14 -
 libavcodec/libwebpenc_animencoder.c  |  13 -
 libavcodec/libx264.c