diff options
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 b1e3446d68..fc8075c532 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 0000000000..702f0b7ea3 --- /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} |