diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-02-18 21:21:20 +0100 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-03-30 16:32:16 -0400 |
commit | 10b1c060f9d2b6028ce4d3fc544a60ee6d7acc06 (patch) | |
tree | 18c9ed35f5e0818e05ac1df4c959fa1d6651efe6 /libavformat/adts.h | |
parent | ed3e1b485acfba72ac9741407836c6125559d567 (diff) | |
download | ffmpeg-10b1c060f9d2b6028ce4d3fc544a60ee6d7acc06.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>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
Diffstat (limited to 'libavformat/adts.h')
0 files changed, 0 insertions, 0 deletions