]> git.sesse.net Git - ffmpeg/commit
avformat/ttmlenc: enable writing out additional header values
authorJan Ekström <jan.ekstrom@24i.com>
Mon, 15 Mar 2021 14:01:52 +0000 (16:01 +0200)
committerJan Ekström <jeebjp@gmail.com>
Mon, 26 Apr 2021 13:40:31 +0000 (16:40 +0300)
commit464d6ed98d67fe0c3819516e9b0ca5edaf956a0e
tree95c85e07f6f77dcf1b5c4b2507c8874cce027af7
parentb71184faefce38c8a965c7d0e8552e049ae9e150
avformat/ttmlenc: enable writing out additional header values

This way the encoder may pass on the following values to the muxer:
1) Additional root "tt" element attributes, such as the subtitle
   canvas reference size.
2) Anything before the body element of the document, such as regions
   in the head element, which can configure styles.

Signed-off-by: Jan Ekström <jan.ekstrom@24i.com>
libavcodec/ttmlenc.h
libavformat/ttmlenc.c