diff options
author | Clément Bœsch <u@pkh.me> | 2017-07-29 20:56:55 +0200 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2017-08-01 15:50:00 +0200 |
commit | 55949e3e51890de36574d8b5c27889b44108a839 (patch) | |
tree | 101df8fc992f0942718341da418278cee7045a48 /tests | |
parent | f0f8da545d80665ae54d51df61e8f6903c85390a (diff) | |
download | ffmpeg-streaming-55949e3e51890de36574d8b5c27889b44108a839.zip ffmpeg-streaming-55949e3e51890de36574d8b5c27889b44108a839.tar.gz |
lavc/tests: add htmlsubtitles
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fate/libavcodec.mak | 4 | ||||
-rw-r--r-- | tests/ref/fate/libavcodec-htmlsubtitles | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/fate/libavcodec.mak b/tests/fate/libavcodec.mak index b1e3446..fc8075c 100644 --- a/tests/fate/libavcodec.mak +++ b/tests/fate/libavcodec.mak @@ -82,5 +82,9 @@ fate-libavcodec-huffman: CMD = run libavcodec/tests/mjpegenc_huffman fate-libavcodec-huffman: CMP = null fate-libavcodec-huffman: REF = /dev/null +FATE_LIBAVCODEC-yes += fate-libavcodec-htmlsubtitles +fate-libavcodec-htmlsubtitles: libavcodec/tests/htmlsubtitles$(EXESUF) +fate-libavcodec-htmlsubtitles: CMD = run libavcodec/tests/htmlsubtitles + FATE-$(CONFIG_AVCODEC) += $(FATE_LIBAVCODEC-yes) fate-libavcodec: $(FATE_LIBAVCODEC-yes) diff --git a/tests/ref/fate/libavcodec-htmlsubtitles b/tests/ref/fate/libavcodec-htmlsubtitles new file mode 100644 index 0000000..702f0b7 --- /dev/null +++ b/tests/ref/fate/libavcodec-htmlsubtitles @@ -0,0 +1,7 @@ +<<hello>> --> <<hello>> +<<<b>hello</b>>> --> <<{\b1}hello{\b0}>> +< hello < 2000 > world > --> < hello < 2000 > world > +<h1>TITLE</h1> --> TITLE +< font color=red >red</font> --> {\c&HFF&}red{\c} +Foo <foo@bar.com> --> Foo <foo@bar.com> +<b> foo <I> bar </B> bla </i> --> {\b1} foo {\i1} bar {\b0} bla {\i0} |