summaryrefslogtreecommitdiff
path: root/libavcodec/cavs.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-02-18 21:21:20 +0100
committerJustin Ruggles <justin.ruggles@gmail.com>2012-03-30 16:32:16 -0400
commit10b1c060f9d2b6028ce4d3fc544a60ee6d7acc06 (patch)
tree18c9ed35f5e0818e05ac1df4c959fa1d6651efe6 /libavcodec/cavs.c
parented3e1b485acfba72ac9741407836c6125559d567 (diff)
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 'libavcodec/cavs.c')
0 files changed, 0 insertions, 0 deletions