diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-02-18 21:21:20 +0100 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-02-18 21:35:49 +0100 |
commit | 76cc0992d88ebc91d6b2e0516586a73a0c83fdfd (patch) | |
tree | 312afeb163962d3861f69e54cc894d5da526617e /tests | |
parent | 030e96fe5566d9dd412540d258f05f907a86651f (diff) | |
download | ffmpeg-76cc0992d88ebc91d6b2e0516586a73a0c83fdfd.tar.gz |
oggenc: fix condition when not to flush due to keyframe granule.
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>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ref/lavf-fate/ogg_vp3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ref/lavf-fate/ogg_vp3 b/tests/ref/lavf-fate/ogg_vp3 index 9f36eeebc2..635dd3e5a9 100644 --- a/tests/ref/lavf-fate/ogg_vp3 +++ b/tests/ref/lavf-fate/ogg_vp3 @@ -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 |