[FFmpeg-cvslog] fate/ffmpeg: add a -threads input option to the loopback decoder

James Almer git at videolan.org
Thu Mar 14 15:48:46 EET 2024


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Thu Mar 14 10:47:05 2024 -0300| [ad6347fc3797a8deca29630fa26ac343c7539463] | committer: James Almer

fate/ffmpeg: add a -threads input option to the loopback decoder

Honor the requested value passed when calling make fate.

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ad6347fc3797a8deca29630fa26ac343c7539463
---

 tests/fate/ffmpeg.mak | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/fate/ffmpeg.mak b/tests/fate/ffmpeg.mak
index e1705141ec..22f8ea12be 100644
--- a/tests/fate/ffmpeg.mak
+++ b/tests/fate/ffmpeg.mak
@@ -257,7 +257,7 @@ FATE_FFMPEG-$(call REMUX, RAWVIDEO) += fate-ffmpeg-streamcopy-t
 
 # Test loopback decoding and passing the output to a complex graph.
 fate-ffmpeg-loopback-decoding: tests/data/vsynth_lena.yuv
-fate-ffmpeg-loopback-decoding:  CMD = transcode \
+fate-ffmpeg-loopback-decoding: CMD = transcode \
     "rawvideo -s 352x288 -pix_fmt yuv420p" $(TARGET_PATH)/tests/data/vsynth_lena.yuv nut \
-    "-map 0:v:0 -c:v mpeg2video -f null - -flags +bitexact -dec 0:0 -filter_complex '[0:v][dec:0]hstack[stack]' -map '[stack]' -c:v ffv1" ""
+    "-map 0:v:0 -c:v mpeg2video -f null - -flags +bitexact -threads $(THREADS) -dec 0:0 -filter_complex '[0:v][dec:0]hstack[stack]' -map '[stack]' -c:v ffv1" ""
 FATE_FFMPEG-$(call ENCDEC2, MPEG2VIDEO, FFV1, NUT, HSTACK_FILTER PIPE_PROTOCOL FRAMECRC_MUXER) += fate-ffmpeg-loopback-decoding



More information about the ffmpeg-cvslog mailing list