aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mss34dsp.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-01-01 01:58:18 +0100
committerJames Almer <jamrial@gmail.com>2020-01-11 11:18:58 -0300
commit6a1bf8634acdd7112979b7e5ae6684e4acaf3339 (patch)
tree01443c2fcea95e5647c9ff68cf8897238bce40bb /libavcodec/mss34dsp.h
parentb650046860d3390de9fd3a9ffef28e36a9a6138e (diff)
downloadffmpeg-6a1bf8634acdd7112979b7e5ae6684e4acaf3339.tar.gz
avformat/matroskaenc: Fix ReferenceBlock timestamp
In order to indicate that the frames in a BlockGroup are not keyframes, one has to add a ReferenceBlock element containing the timestamp of a referenced Block that has already been written. The timestamp ought to be relative to the timestamp of the Block it is attached to. Yet the Matroska muxer used the relative timestamp of the preceding Block of the track, i.e. the timestamp of the preceding block relative to the timestamp of the Cluster containing said block (that need not be the Cluster containing the current Block). This has been fixed. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/mss34dsp.h')
0 files changed, 0 insertions, 0 deletions