diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-12-29 03:14:53 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-04-20 21:30:46 +0200 |
commit | 945b92873061c66b82df892887cd9baf8146857b (patch) | |
tree | d516954777063375a99d63f732dbb9f9788c978a /libswscale/hscale.c | |
parent | 13c12cd4702e621c7363be8f22a8b55c22a31a02 (diff) | |
download | ffmpeg-945b92873061c66b82df892887cd9baf8146857b.tar.gz |
avformat/matroskaenc: Improve Cues in case of no video
The Matroska muxer currently only adds CuePoints in three cases:
a) For video keyframes. b) For the first audio frame in a new Cluster if
in DASH-mode. c) For subtitles. This means that ordinary Matroska audio
files won't have any Cues which impedes seeking.
This commit changes this. For every track in a file without video track
it is checked and tracked whether a Cue entry has already been added
for said track for the current Cluster. This is used to add a Cue entry
for each first packet of each track in each Cluster.
Implements #3149.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libswscale/hscale.c')
0 files changed, 0 insertions, 0 deletions