Mercurial > libavcodec.hg
changeset 10680:d569841bd1b7 libavcodec
Clarify comment: although still hacky, it is correct for existing libtheora
author | conrad |
---|---|
date | Sat, 12 Dec 2009 20:18:49 +0000 |
parents | c1328f04458a |
children | 997692df50c1 |
files | libtheoraenc.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libtheoraenc.c Sat Dec 12 20:18:46 2009 +0000 +++ b/libtheoraenc.c Sat Dec 12 20:18:49 2009 +0000 @@ -336,7 +336,8 @@ } memcpy(outbuf, o_packet.packet, o_packet.bytes); - // HACK: does not take codec delay into account (neither does the decoder though) + // HACK: assumes no encoder delay, this is true until libtheora becomes + // multithreaded (which will be disabled unless explictly requested) avc_context->coded_frame->pts = frame->pts; avc_context->coded_frame->key_frame = !(o_packet.granulepos & h->keyframe_mask);