diff options
author | James Almer <jamrial@gmail.com> | 2024-11-16 17:49:17 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-11-24 20:26:17 -0300 |
commit | f656c00bd953b1dd84c58dfef5dd645db818ba3d (patch) | |
tree | b9b91de962272b73522b3f1d403589e391da4e30 | |
parent | f938b2b3f51f959de84bc22c75529b77626b2596 (diff) | |
download | ffmpeg-f656c00bd953b1dd84c58dfef5dd645db818ba3d.tar.gz |
avformat/matroskadec: set all frames in a keyframe simple box as keyframes
And not just the first, as it was being done for lacing. The spec states that the
flag applies to everything inside the simple box.
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavformat/matroskadec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index a973b62756..0e150f9138 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -4224,7 +4224,7 @@ static int matroska_parse_block(MatroskaDemuxContext *matroska, AVBufferRef *buf } else { res = matroska_parse_frame(matroska, track, st, buf, out_data, out_size, timecode, lace_duration, - pos, !n ? is_keyframe : 0, + pos, is_keyframe, blockmore, nb_blockmore, discard_padding); if (res) |