]> git.sesse.net Git - ffmpeg/commit
avformat/matroskaenc: Automatically use right TrackNumber in Cues
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Tue, 31 Dec 2019 21:05:57 +0000 (22:05 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 13 Apr 2020 07:08:41 +0000 (09:08 +0200)
commit385964409a62158c7ad5226f1c1d4adc160ea830
treea3f5328484bded7ee35ef908b0e184271a8ce72e
parent629f08a8632bf622ea7521b6de63eb8f9502fd4a
avformat/matroskaenc: Automatically use right TrackNumber in Cues

mkv_cuepoint (the structure used to store the index entries in the
Matroska muxer) currently contains fields for both the index of the
packet's stream in the AVFormatContext.streams array and for the
Matroska TrackNumber; correspondingly, mkv_add_cuepoint() has parameters
for both. But these two numbers can't be chosen independently, so get
rid of the TrackNumber.

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