mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
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> (cherry picked from commit f656c00bd953b1dd84c58dfef5dd645db818ba3d)
This commit is contained in:
parent
13282e61b8
commit
f1592a7ff1
@ -4224,7 +4224,7 @@ static int matroska_parse_block(MatroskaDemuxContext *matroska, AVBufferRef *buf
|
|||||||
} else {
|
} else {
|
||||||
res = matroska_parse_frame(matroska, track, st, buf, out_data,
|
res = matroska_parse_frame(matroska, track, st, buf, out_data,
|
||||||
out_size, timecode, lace_duration,
|
out_size, timecode, lace_duration,
|
||||||
pos, !n ? is_keyframe : 0,
|
pos, is_keyframe,
|
||||||
blockmore, nb_blockmore,
|
blockmore, nb_blockmore,
|
||||||
discard_padding);
|
discard_padding);
|
||||||
if (res)
|
if (res)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user