]> git.sesse.net Git - ffmpeg/commit
avformat/aiffenc: Don't forget chapters
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 19 May 2020 04:10:27 +0000 (06:10 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 25 May 2020 03:38:15 +0000 (05:38 +0200)
commit1ebbb493cced1af3fc891618e2573c7bc5ed7e70
tree701a45cdbeea3d3d7ddb14d1e221151d368bb5d5
parentc7c8f141ebd95b73baebf4b5013d3c6389cbe2c6
avformat/aiffenc: Don't forget chapters

If the write_id3v2 option is set, the aiff muxer would write id3v2 tags
if there is global metadata or if there are attached pics to write.
Chapters are ignored in this check that precedes writing id3v2 tags.
Yet 47ac344970f1d6ef149c4b8a883b68cdb15112c2 added support for writing
chapters as id3v2 tags, so one should check for the existence of chapters,
too; otherwise the chapters would only be written in case there is
global metadata or an attached pic.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavformat/aiffenc.c