[FFmpeg-devel] [PATCH v12 2/2] avformat/imf: Tests

Pierre-Anthony Lemieux pal at sandflow.com
Mon Dec 20 21:16:00 EET 2021


> And then generate the appropriate reference file.

Done at v13 of the patchset.

I have also (separately) requested to samples-request at ffmpeg.org the
addition of an IMF sample -- in addition to the tests at
libavformat/tests/imf.c.


On Mon, Dec 20, 2021 at 7:06 AM Anton Khirnov <anton at khirnov.net> wrote:
>
> As far as I can tell, the test is not actually run as a part of make
> fate. You need something like:
>
> diff --git a/tests/fate/libavformat.mak b/tests/fate/libavformat.mak
> index d1e81284ed..59ff0ebc8d 100644
> --- a/tests/fate/libavformat.mak
> +++ b/tests/fate/libavformat.mak
> @@ -22,6 +22,10 @@ FATE_LIBAVFORMAT-$(CONFIG_MOV_MUXER) += fate-movenc
>  fate-movenc: libavformat/tests/movenc$(EXESUF)
>  fate-movenc: CMD = run libavformat/tests/movenc$(EXESUF)
>
> +FATE_LIBAVFORMAT-$(CONFIG_IMF_DEMUXER) += fate-imf
> +fate-imf: libavformat/tests/imf$(EXESUF)
> +fate-imf: CMD = run libavformat/tests/imf$(EXESUF)
>
> And then generate the appropriate reference file.
>
> --
> Anton Khirnov


More information about the ffmpeg-devel mailing list