summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-02-12 21:00:04 +0100
committerAnton Khirnov <anton@khirnov.net>2015-02-15 15:30:29 +0100
commite21d85309943a51b7808f5e01dd258b262e09148 (patch)
tree0fe6a08f35fd59a67d74ca9ace574b83bc9390de /tests
parentd3449ac938333d59955360b6cb8e7bc24a9b792e (diff)
FATE: add a test for the SVQ1 header byte swapping
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/qt.mak3
-rw-r--r--tests/ref/fate/svq1-headerswap5
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/fate/qt.mak b/tests/fate/qt.mak
index ac95d64822..97537f93ef 100644
--- a/tests/fate/qt.mak
+++ b/tests/fate/qt.mak
@@ -46,5 +46,8 @@ fate-rpza: CMD = framecrc -i $(TARGET_SAMPLES)/rpza/rpza2.mov -t 2 -pix_fmt rgb2
FATE_SAMPLES_AVCONV-$(call DEMDEC, MOV, SVQ1) += fate-svq1
fate-svq1: CMD = framecrc -i $(TARGET_SAMPLES)/svq1/marymary-shackles.mov -an -t 10
+FATE_SAMPLES_AVCONV-$(call DEMDEC, MOV, SVQ1) += fate-svq1-headerswap
+fate-svq1-headerswap: CMD = framecrc -i $(TARGET_SAMPLES)/svq1/ct_ending_cut.mov -frames 4
+
FATE_SAMPLES_AVCONV-$(call ALLYES, MOV_DEMUXER SVQ3_DECODER ZLIB) += fate-svq3
fate-svq3: CMD = framecrc -i $(TARGET_SAMPLES)/svq3/Vertical400kbit.sorenson3.mov -t 6 -an
diff --git a/tests/ref/fate/svq1-headerswap b/tests/ref/fate/svq1-headerswap
new file mode 100644
index 0000000000..f5ffe4d652
--- /dev/null
+++ b/tests/ref/fate/svq1-headerswap
@@ -0,0 +1,5 @@
+#tb 0: 1/600
+0, 0, 0, 1, 58814, 0x5caad04b
+0, 60, 60, 1, 58814, 0x98d8ceb8
+0, 120, 120, 1, 58814, 0x8925cdb0
+0, 180, 180, 1, 58814, 0x6ffc02c3