diff --git a/tests/check/elements/subparse.c b/tests/check/elements/subparse.c index 23e99b6f46..306b7f89d6 100644 --- a/tests/check/elements/subparse.c +++ b/tests/check/elements/subparse.c @@ -105,7 +105,13 @@ static SubParseInputChunk srt_input[] = { 360 * GST_SECOND, 480 * GST_SECOND, "Rock & Roll"}, { "28\n00:10:00,000 --> 00:11:00,000\n" "This is in blue but <5\n\n", - 600 * GST_SECOND, 660 * GST_SECOND, "This is in blue but <5"} + 600 * GST_SECOND, 660 * GST_SECOND, "This is in blue but <5"}, { + /* closing tags should be recognised properly even if there's a space */ + "29\n00:11:00,000 --> 00:12:00,000\n" "italics\n\n", + 660 * GST_SECOND, 720 * GST_SECOND, "italics"}, { + /* closing tags should be escaped and fixed up if not recognised */ + "30\n00:12:00,000 --> 00:12:01,000\n" "italics\n\n", + 720 * GST_SECOND, 721 * GST_SECOND, "italics</ x>"}, }; /* starts with chunk number 0 (not exactly according to spec) */