The previous condition of 0 page size was wrong, that would disable the mechanism for all frames at a start of a page, thus some keyframes still would not get their own granule. The real problem is that header packets must not be flushed, but they have (and must have) 0 granule and thus would be detected as keyframes. Add a separate parameter to mark header packets. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>pull/3/merge
parent
030e96fe55
commit
76cc0992d8
2 changed files with 9 additions and 8 deletions
@ -1,3 +1,3 @@ |
||||
cf4184d736685fb698bb3be4656353bd *./tests/data/lavf-fate/lavf.ogg |
||||
417698 ./tests/data/lavf-fate/lavf.ogg |
||||
adbe6c30bdfe934dc5ae397f4db2960d *./tests/data/lavf-fate/lavf.ogg |
||||
417644 ./tests/data/lavf-fate/lavf.ogg |
||||
./tests/data/lavf-fate/lavf.ogg CRC=0x45a9df79 |
||||
|
Loading…
Reference in new issue