summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-12-29 23:26:36 +0100
committerClément Bœsch <ubitux@gmail.com>2012-12-31 00:41:35 +0100
commit1f265f52050e967d78e29d8e115c7dc849b14c4e (patch)
treec35814a7a10c70da45ef5700bd6b401a59558ba0 /tests
parentfaa94061dd7236cbaabd483e7b2df148cdbefb7f (diff)
microdvd: sanitize AVPackets.
Current MicroDVD AVPackets contain timing information and trailing line breaks. The data is now only composed of the markup data. Doing this consistently between text subtitles decoders allows to use different codec for various formats. For instance, MicroDVD markup is sometimes found in some VPlayer files. Also, generally speaking, the subtitles text decoders have no use of these timings (and they must not use them since it would break any user timing adjustment). Technically, this is a major ABI break. In practice, a mismatching lavf/lavc will now error out for MicroDVD decoding. Supporting both formats requires unnecessary complex and fragile code. FATE needs update because line breaks in the ASS file were "\n" (because that's what is used in the original file). ASS format expect "\r\n" line breaks; this commit fixes this issue. Also note that this "\r\n" trailing need to be moved at some point from the decoders to the ASS muxer.
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/fate/sub-microdvd2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ref/fate/sub-microdvd b/tests/ref/fate/sub-microdvd
index 9fc10fbc57..2059989172 100644
--- a/tests/ref/fate/sub-microdvd
+++ b/tests/ref/fate/sub-microdvd
@@ -1 +1 @@
-6356b8c53169aae6a20bce34d0f7be87
+35e133576aa3881d2de8dbf39a8d6df7