OSDN Git Service

fate: add a test for -filter_complex / -lavfi without input.
authorNicolas George <nicolas.george@normalesup.org>
Sun, 17 Mar 2013 12:32:57 +0000 (13:32 +0100)
committerNicolas George <nicolas.george@normalesup.org>
Sun, 17 Mar 2013 15:24:43 +0000 (16:24 +0100)
tests/fate/ffmpeg.mak
tests/ref/fate/ffmpeg-filter_complex [new file with mode: 0644]
tests/ref/fate/ffmpeg-lavfi [new file with mode: 0644]

index cc0e22a..b96bfb3 100644 (file)
@@ -15,6 +15,12 @@ FATE_MAPCHAN = $(FATE_MAPCHAN-yes)
 FATE_FFMPEG += $(FATE_MAPCHAN)
 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
+
+FATE_FFMPEG-$(CONFIG_COLOR_FILTER) += fate-ffmpeg-lavfi
+fate-ffmpeg-lavfi: CMD = framecrc -lavfi color=d=1:r=5
+
 FATE_FFMPEG-$(CONFIG_RAWVIDEO_DEMUXER) += fate-force_key_frames
 fate-force_key_frames: tests/data/vsynth2.yuv
 fate-force_key_frames: CMD = enc_dec \
diff --git a/tests/ref/fate/ffmpeg-filter_complex b/tests/ref/fate/ffmpeg-filter_complex
new file mode 100644 (file)
index 0000000..54d318d
--- /dev/null
@@ -0,0 +1,6 @@
+#tb 0: 1/5
+0,          0,          0,        1,   115200, 0x375ec573
+0,          1,          1,        1,   115200, 0x375ec573
+0,          2,          2,        1,   115200, 0x375ec573
+0,          3,          3,        1,   115200, 0x375ec573
+0,          4,          4,        1,   115200, 0x375ec573
diff --git a/tests/ref/fate/ffmpeg-lavfi b/tests/ref/fate/ffmpeg-lavfi
new file mode 100644 (file)
index 0000000..54d318d
--- /dev/null
@@ -0,0 +1,6 @@
+#tb 0: 1/5
+0,          0,          0,        1,   115200, 0x375ec573
+0,          1,          1,        1,   115200, 0x375ec573
+0,          2,          2,        1,   115200, 0x375ec573
+0,          3,          3,        1,   115200, 0x375ec573
+0,          4,          4,        1,   115200, 0x375ec573