[FFmpeg-devel] [PATCH] avformat/matroskaenc: add reserve free space option

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Sep 6 22:23:58 EEST 2018


2018-09-06 21:18 GMT+02:00, James Darnley <james.darnley at gmail.com>:
> On 2018-09-06 19:39, Sigríður Regína Sigurþórsdóttir wrote:
>> +    if (s->metadata_header_padding) {
>> +        if (s->metadata_header_padding == 1)
>> +            s->metadata_header_padding++;
>> +        put_ebml_void(pb, s->metadata_header_padding);
>> +    }
>
> Unfortunately I was forced to make the default -1 so you want to check
> that the value is greater than 0 rather than just true.
>
> Furthermore I think you will still want to add to Changelog making a
> note that the matroska muxer will now listen to metadata_header_padding.

I don't remember a new option that warranted a Changelog entry...

>  That may also want a micro version bump so that library users can check.

Of course!

Carl Eugen


More information about the ffmpeg-devel mailing list