[FFmpeg-devel] [PATCH 18/24] avutil: remove deprecated FF_API_PKT_DURATION

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Sun Feb 4 22:04:14 EET 2024


James Almer:
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  doc/ffprobe.xsd                              |   2 -
>  fftools/ffmpeg_filter.c                      |   5 -
>  fftools/ffprobe.c                            |   6 -
>  libavcodec/decode.c                          |   6 -
>  libavdevice/alsa_enc.c                       |   7 -
>  libavdevice/pulse_audio_enc.c                |   7 -
>  libavfilter/avfilter.c                       |   5 -
>  libavfilter/buffersrc.c                      |   7 -
>  libavfilter/vf_deshake_opencl.c              |   7 -
>  libavfilter/vf_drawtext.c                    |  15 -
>  libavfilter/vsrc_testsrc.c                   |   5 -
>  libavformat/mux.c                            |   7 -
>  libavutil/frame.c                            |  10 -
>  libavutil/frame.h                            |  13 -
>  libavutil/version.h                          |   1 -
>  tests/ref/fate/exif-image-embedded           |  44 ---
>  tests/ref/fate/exif-image-jpg                |   2 -
>  tests/ref/fate/exif-image-tiff               |   2 -
>  tests/ref/fate/exif-image-webp               |   2 -
>  tests/ref/fate/ffprobe_compact               |  28 +-
>  tests/ref/fate/ffprobe_csv                   |  28 +-
>  tests/ref/fate/ffprobe_default               |  28 --
>  tests/ref/fate/ffprobe_flat                  |  28 --
>  tests/ref/fate/ffprobe_ini                   |  28 --
>  tests/ref/fate/ffprobe_json                  |  28 --
>  tests/ref/fate/ffprobe_xml                   |  28 +-
>  tests/ref/fate/ffprobe_xsd                   |  28 +-
>  tests/ref/fate/flcl1905                      | 350 +++++++++----------
>  tests/ref/fate/gaplessenc-itunes-to-ipod-aac |  32 +-
>  tests/ref/fate/gaplessenc-pcm-to-mov-aac     |  32 +-
>  tests/ref/fate/gaplessinfo-itunes1           |  32 +-
>  tests/ref/fate/gaplessinfo-itunes2           |  32 +-
>  tests/ref/fate/h264-dts_5frames              |  10 -
>  tests/ref/fate/jpg-icc                       |   2 -
>  tests/ref/fate/mov-zombie                    | 130 +++----
>  tests/ref/fate/png-icc                       |   2 -
>  tests/ref/fate/png-side-data                 |   2 -
>  37 files changed, 360 insertions(+), 641 deletions(-)
> 
> diff --git a/tests/ref/fate/png-icc b/tests/ref/fate/png-icc
> index 8927cb331a..417cbcb91d 100644
> --- a/tests/ref/fate/png-icc
> +++ b/tests/ref/fate/png-icc
> @@ -16,8 +16,6 @@ pkt_dts=0
>  pkt_dts_time=0.000000
>  best_effort_timestamp=0
>  best_effort_timestamp_time=0.000000
> -pkt_duration=1
> -pkt_duration_time=0.040000
>  duration=1
>  duration_time=0.040000
>  pkt_pos=0
> diff --git a/tests/ref/fate/png-side-data b/tests/ref/fate/png-side-data
> index 629971bd23..0d1f88ccb2 100644
> --- a/tests/ref/fate/png-side-data
> +++ b/tests/ref/fate/png-side-data
> @@ -8,8 +8,6 @@ pkt_dts=0
>  pkt_dts_time=0.000000
>  best_effort_timestamp=0
>  best_effort_timestamp_time=0.000000
> -pkt_duration=1
> -pkt_duration_time=0.040000
>  duration=1
>  duration_time=0.040000
>  pkt_pos=0

There is also a png-icc-parse fate-test that you have not updated (it is
only run when LCMS2 is enabled).

- Andreas



More information about the ffmpeg-devel mailing list