aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-02-20 14:01:48 +0100
committerClément Bœsch <ubitux@gmail.com>2013-02-23 00:24:02 +0100
commit0ac71f9a320d72b8fd1554fa5ca521be1bb4f724 (patch)
tree7555db70a75e41c2769a453b5421a2a81ffe9d05 /tests
parente95637841c0a3953cf6ed0d9c2a61aa5d362c098 (diff)
downloadffmpeg-0ac71f9a320d72b8fd1554fa5ca521be1bb4f724.tar.gz
fate/subtitles: add character encoding conversion test.
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/subtitles.mak4
-rw-r--r--tests/ref/fate/sub-charenc1
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/fate/subtitles.mak b/tests/fate/subtitles.mak
index 7b0dd43b1e..e0681e5bfc 100644
--- a/tests/fate/subtitles.mak
+++ b/tests/fate/subtitles.mak
@@ -52,6 +52,10 @@ fate-sub-vplayer: CMD = md5 -i $(SAMPLES)/sub/VPlayer_capability_tester.txt -f a
FATE_SUBTITLES_ASS-$(call DEMDEC, WEBVTT, WEBVTT) += fate-sub-webvtt
fate-sub-webvtt: CMD = md5 -i $(SAMPLES)/sub/WebVTT_capability_tester.vtt -f ass
+FATE_SUBTITLES_CHARENC-$(HAVE_ICONV) = fate-sub-charenc
+FATE_SUBTITLES_ASS-$(call DEMDEC, MICRODVD, MICRODVD) += $(FATE_SUBTITLES_CHARENC-yes)
+fate-sub-charenc: CMD = md5 -sub_charenc cp1251 -i $(SAMPLES)/sub/cp1251-subtitles.sub -f ass
+
FATE_SUBTITLES-$(call ENCMUX, ASS, ASS) += $(FATE_SUBTITLES_ASS-yes)
FATE_SUBTITLES += $(FATE_SUBTITLES-yes)
diff --git a/tests/ref/fate/sub-charenc b/tests/ref/fate/sub-charenc
new file mode 100644
index 0000000000..3c4825e206
--- /dev/null
+++ b/tests/ref/fate/sub-charenc
@@ -0,0 +1 @@
+a39d7e299a8e25b4ffece0f8d64bf19e