History

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.

James Almer committed 1 year ago

Commit f656c001 parent f938b2b1 file · +1 −1Browse files

Showing the changes to libavformat (1 of 1 file). Show all

Unified · Split

libavformat/matroskadec.c+1−1
@@ -4224,7 +4224,7 @@ static int matroska_parse_block(MatroskaDemuxContext *matroska, AVBufferRef *buf · 4223 unmodified lines
42244224 } else {
42254225 res = matroska_parse_frame(matroska, track, st, buf, out_data,
42264226 out_size, timecode, lace_duration,
4227− pos, !n ? is_keyframe : 0,
4227+ pos, is_keyframe,
42284228 blockmore, nb_blockmore,
42294229 discard_padding);
42304230 if (res)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t