aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/jpeglsenc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-09 01:00:51 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-12 18:29:23 +0200
commitb972dab39d81d5f291cea4b9a042beb63386e768 (patch)
treeb936313f028df92bc2b775593dabfb9a71455cd2 /libavcodec/jpeglsenc.c
parent85709a90c3517e3429bb1206d26f7238dbd6a1bd (diff)
downloadffmpeg-b972dab39d81d5f291cea4b9a042beb63386e768.tar.gz
avformat/matroskaenc: Put subtitles without duration into SimpleBlocks
The value zero for AVPacket.duration means that the duration is unknown, which in practice means "play this subtitle until overridden by the next subtitle". Yet for Matroska a BlockGroup with duration zero means that the subtitle really has a duration zero. "Display until overridden" is achieved by not setting a duration on the container level at all and this is achieved by using a SimpleBlock or a BlockGroup without duration. This commit implements this. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/jpeglsenc.c')
0 files changed, 0 insertions, 0 deletions