diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-04-29 07:52:56 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-05-19 03:15:51 +0200 |
commit | 4992bfe8247c917d989af45a91df5cd504344283 (patch) | |
tree | 0ec76f18a0f6fa1b62bc3e5a03b2af36f7c9bea7 /libavcodec/mvha.c | |
parent | 99c58e49e84e055d0a2b8f0372dfa3dbe815819b (diff) | |
download | ffmpeg-4992bfe8247c917d989af45a91df5cd504344283.tar.gz |
avformat/matroskaenc: Allow a custom destination for writing Tags
Up until now, the Matroska muxer writes only one Tags level 1 element
and therefore using a certain place to store the dynamic buffer used for
writing it was hardcoded; yet the Matroska specifications allow an
unlimited amount of Tags elements and we have reason to write a second
one: If chapters are provided after writing the header, they are written
when writing the trailer; yet the corresponding tags are ignored. This
can be fixed by writing them in a second Tags element.
Also use a MatroskaMuxContext * instead of an AVFormatContext * as
parameter in mkv_write_tag() and mkv_write_tag_targets() as that is all
these functions use.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/mvha.c')
0 files changed, 0 insertions, 0 deletions