]> git.sesse.net Git - ffmpeg/commit
avformat/matroskaenc: Improve log messages for blocks
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 23 Apr 2019 19:45:52 +0000 (21:45 +0200)
committerJames Almer <jamrial@gmail.com>
Wed, 8 May 2019 16:02:30 +0000 (13:02 -0300)
commit9b932a855e4416a1a7fe207cc8af0782b96823ee
tree29af6747092dafefe84f7ee2e96913f6847ca1d3
parent0b61ddb5766c8d5219150371db0649ff0cec730a
avformat/matroskaenc: Improve log messages for blocks

Up until now, a block's relative offset has been reported as the offset
in the log messages output when writing blocks; given that it is
impossible to know the real offset from the beginning of the file at
this point due to the fact that it is not yet known how many bytes will
be used for the containing cluster's length field both the relative
offset in the cluster as well as the offset of the containing cluster
will be reported from now on.

Furthermore, the TrackNumber of the written block has been added to the
log output.

Also, the log message for writing vtt blocks has been brought in line
with the message for normal blocks.

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