From 528611321f2eea3dc30fb8ced381e31225604cd6 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 3 Feb 2024 21:38:01 +0100 Subject: [PATCH] tests/fate/ffmpeg: add a test for the issue fixed in previous commit Signed-off-by: Paul B Mahol --- tests/fate/ffmpeg.mak | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/fate/ffmpeg.mak b/tests/fate/ffmpeg.mak index 8c2f008d04..3f21815ba2 100644 --- a/tests/fate/ffmpeg.mak +++ b/tests/fate/ffmpeg.mak @@ -271,3 +271,11 @@ fate-ffmpeg-filter-in-eof: CMD = framecrc -f rawvideo -s 352x288 -pix_fmt yuv420p -t 1 -i $(TARGET_PATH)/tests/data/vsynth_lena.yuv \ -filter_complex "[0][1]concat" -c:v rawvideo FATE_FFMPEG-$(call FRAMECRC, RAWVIDEO, RAWVIDEO, CONCAT_FILTER) += fate-ffmpeg-filter-in-eof + +# Test termination on streamcopy with -t as an output option. +fate-ffmpeg-streamcopy-t: tests/data/vsynth_lena.yuv +fate-ffmpeg-streamcopy-t: CMP = null +fate-ffmpeg-streamcopy-t: CMD = ffmpeg \ + -stream_loop -1 -f rawvideo -s 352x288 -pix_fmt yuv420p -i $(TARGET_PATH)/tests/data/vsynth_lena.yuv \ + -c copy -f null -t 1 - +FATE_FFMPEG-$(call REMUX, RAWVIDEO) += fate-ffmpeg-streamcopy-t