summaryrefslogtreecommitdiff
path: root/libavcodec/ttmlenc.h
diff options
context:
space:
mode:
authorJan Ekström <jan.ekstrom@24i.com>2021-03-29 16:34:34 +0300
committerJan Ekström <jeebjp@gmail.com>2021-04-26 16:40:31 +0300
commit3ef5a8ba2b7798ea4e5708c5644fa60dd00bde06 (patch)
tree200b460a6d88ac9e92efddea9394e6d8f28aad84 /libavcodec/ttmlenc.h
parent464d6ed98d67fe0c3819516e9b0ca5edaf956a0e (diff)
downloadffmpeg-3ef5a8ba2b7798ea4e5708c5644fa60dd00bde06.tar.gz
avcodec/ttmlenc: add initial support for regions and styles
Attempts to utilize the TTML cell resolution as a mapping to the reference resolution, and maps font size to cell size. Additionally sets the display and text alignment according to the ASS alignment number. Signed-off-by: Jan Ekström <jan.ekstrom@24i.com>
Diffstat (limited to 'libavcodec/ttmlenc.h')
-rw-r--r--libavcodec/ttmlenc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/ttmlenc.h b/libavcodec/ttmlenc.h
index c3bb11478d..467f35c7a6 100644
--- a/libavcodec/ttmlenc.h
+++ b/libavcodec/ttmlenc.h
@@ -28,6 +28,7 @@
static const char ttml_default_namespacing[] =
" xmlns=\"http://www.w3.org/ns/ttml\"\n"
" xmlns:ttm=\"http://www.w3.org/ns/ttml#metadata\"\n"
-" xmlns:tts=\"http://www.w3.org/ns/ttml#styling\"\n";
+" xmlns:tts=\"http://www.w3.org/ns/ttml#styling\"\n"
+" xmlns:ttp=\"http://www.w3.org/ns/ttml#parameter\"\n";
#endif /* AVCODEC_TTMLENC_H */