fate: add fate test for ticket #6603
authorMarton Balint <cus@passwd.hu>
Sun, 8 Oct 2017 12:51:03 +0000 (14:51 +0200)
committerMarton Balint <cus@passwd.hu>
Thu, 26 Oct 2017 22:33:56 +0000 (00:33 +0200)
Signed-off-by: Marton Balint <cus@passwd.hu>
tests/fate/ffmpeg.mak
tests/ref/fate/ffmpeg-filter_complex_audio [new file with mode: 0644]

index d8f2e71..8c25c82 100644 (file)
@@ -26,6 +26,10 @@ fate-mapchan: $(FATE_MAPCHAN)
 FATE_FFMPEG-$(CONFIG_COLOR_FILTER) += fate-ffmpeg-filter_complex
 fate-ffmpeg-filter_complex: CMD = framecrc -filter_complex color=d=1:r=5 -fflags +bitexact
 
+# Ticket 6603
+FATE_FFMPEG-$(call ALLYES, AEVALSRC_FILTER ASETNSAMPLES_FILTER AC3_FIXED_ENCODER) += fate-ffmpeg-filter_complex_audio
+fate-ffmpeg-filter_complex_audio: CMD = framecrc -filter_complex "aevalsrc=0:d=0.1,asetnsamples=1537" -c ac3_fixed
+
 FATE_SAMPLES_FFMPEG-$(CONFIG_COLORKEY_FILTER) += fate-ffmpeg-filter_colorkey
 fate-ffmpeg-filter_colorkey: tests/data/filtergraphs/colorkey
 fate-ffmpeg-filter_colorkey: CMD = framecrc -idct simple -fflags +bitexact -flags +bitexact  -sws_flags +accurate_rnd+bitexact -i $(TARGET_SAMPLES)/cavs/cavs.mpg -fflags +bitexact -flags +bitexact -sws_flags +accurate_rnd+bitexact -i $(TARGET_SAMPLES)/lena.pnm -an -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/colorkey -sws_flags +accurate_rnd+bitexact -fflags +bitexact -flags +bitexact -qscale 2 -frames:v 10
diff --git a/tests/ref/fate/ffmpeg-filter_complex_audio b/tests/ref/fate/ffmpeg-filter_complex_audio
new file mode 100644 (file)
index 0000000..c424675
--- /dev/null
@@ -0,0 +1,10 @@
+#tb 0: 1/44100
+#media_type 0: audio
+#codec_id 0: ac3
+#sample_rate 0: 44100
+#channel_layout 0: 4
+#channel_layout_name 0: mono
+0,       -256,       -256,     1536,      416, 0x3001fb2d
+0,       1280,       1280,     1536,      418, 0xba72fc16
+0,       2816,       2816,     1536,      418, 0xba72fc16
+0,       4352,       4352,     1536,      418, 0xba72fc16