[FFmpeg-cvslog] r20817 - trunk/libavcodec/libtheoraenc.c

conrad subversion
Sat Dec 12 21:18:49 CET 2009


Author: conrad
Date: Sat Dec 12 21:18:49 2009
New Revision: 20817

Log:
Clarify comment: although still hacky, it is correct for existing libtheora

Modified:
   trunk/libavcodec/libtheoraenc.c

Modified: trunk/libavcodec/libtheoraenc.c
==============================================================================
--- trunk/libavcodec/libtheoraenc.c	Sat Dec 12 21:18:46 2009	(r20816)
+++ trunk/libavcodec/libtheoraenc.c	Sat Dec 12 21:18:49 2009	(r20817)
@@ -336,7 +336,8 @@ static int encode_frame(AVCodecContext* 
     }
     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);
 



More information about the ffmpeg-cvslog mailing list