Changeset 76cc0992 in ffmpeg

Timestamp:
Feb 18, 2012, 8:35:49 PM (13 years ago)
Author:
Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Branches:
master
Children:
57182b9f
Parents:
030e96fe
git-author:
Reimar Döffinger <Reimar.Doeffinger@gmx.de> (02/18/12 20:21:20)
git-committer:
Reimar Döffinger <Reimar.Doeffinger@gmx.de> (02/18/12 20:35:49)
Message:

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>

(No files)

Note: See TracChangeset for help on using the changeset viewer.