]> git.sesse.net Git - ffmpeg/commit
avformat/matroskaenc: Don't write elements with their default value
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 14 Apr 2020 00:47:44 +0000 (02:47 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 14 Apr 2020 01:55:06 +0000 (03:55 +0200)
commitf0d712d0f95ba757943cc6d49a8caa2e1adfb6e7
tree187c799adab428776a7c65ff36ebc8f6e9000409
parent05039c13346b7d7c16625fa1f5e3bfb3513a7e6a
avformat/matroskaenc: Don't write elements with their default value

This has happened when writing chapters: Both editions as well as
chapters are by default not hidden and given that we don't support
writing hidden chapters at all, we don't need to write said elements at
all. The same goes for ChapterFlagEnabled.

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