summaryrefslogtreecommitdiffstats
path: root/tests/fate
diff options
context:
space:
mode:
authorSteven Liu <lq@chinaffmpeg.org>2019-07-11 09:39:44 +0800
committerSteven Liu <lq@chinaffmpeg.org>2019-07-11 09:39:44 +0800
commitaf9dc02e6b07c66250a76e6c51da65a37e46b953 (patch)
tree15bbc695b25d9d9796227d1d5c3cc4b1556bca6d /tests/fate
parent33a8cd5925a03b137c079dde64a7b24e102cd06b (diff)
downloadffmpeg-streaming-af9dc02e6b07c66250a76e6c51da65a37e46b953.zip
ffmpeg-streaming-af9dc02e6b07c66250a76e6c51da65a37e46b953.tar.gz
fate: add hls_list_size fate test case
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'tests/fate')
-rw-r--r--tests/fate/hlsenc.mak11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/fate/hlsenc.mak b/tests/fate/hlsenc.mak
index 4d3a615..2a125cd 100644
--- a/tests/fate/hlsenc.mak
+++ b/tests/fate/hlsenc.mak
@@ -63,3 +63,14 @@ FATE_AFILTER-$(call ALLYES, HLS_DEMUXER MPEGTS_MUXER MPEGTS_DEMUXER AEVALSRC_FIL
fate-hls-init-time: tests/data/hls_init_time.m3u8
fate-hls-init-time: CMD = framecrc -flags +bitexact -i $(TARGET_PATH)/tests/data/hls_init_time.m3u8 -vf setpts=N*23
+tests/data/hls_list_size.m3u8: TAG = GEN
+tests/data/hls_list_size.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
+ $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
+ -f lavfi -i "aevalsrc=cos(2*PI*t)*sin(2*PI*(440+4*t)*t):d=20" -f hls -hls_time 4 -map 0 \
+ -hls_list_size 4 -codec:a mp2fixed -hls_segment_filename $(TARGET_PATH)/tests/data/hls_list_size_%d.ts \
+ $(TARGET_PATH)/tests/data/hls_list_size.m3u8 2>/dev/null
+
+FATE_AFILTER-$(call ALLYES, HLS_DEMUXER MPEGTS_MUXER MPEGTS_DEMUXER AEVALSRC_FILTER LAVFI_INDEV MP2FIXED_ENCODER) += fate-hls-list-size
+fate-hls-list-size: tests/data/hls_list_size.m3u8
+fate-hls-list-size: CMD = framecrc -flags +bitexact -i $(TARGET_PATH)/tests/data/hls_list_size.m3u8 -vf setpts=N*23
+
OpenPOWER on IntegriCloud