[FFmpeg-cvslog] r20109 - trunk/libavcodec/libtheoraenc.c
Reimar Döffinger
Reimar.Doeffinger
Thu Oct 1 08:41:34 CEST 2009
On Thu, Oct 01, 2009 at 12:25:49AM +0200, conrad wrote:
> Author: conrad
> Date: Thu Oct 1 00:25:49 2009
> New Revision: 20109
>
> Log:
> Support constant-quant encoding for libtheora
> Based on a patch by j f (gonzaz-z # operamail (d) com)
That reminds me, I still have a patch around to make variable frame-rate
encoding at least work somewhat, if someone could review/fix/whatever it:
Index: libavcodec/libtheoraenc.c
===================================================================
--- libavcodec/libtheoraenc.c (revision 20105)
+++ libavcodec/libtheoraenc.c (working copy)
@@ -239,6 +239,9 @@
}
memcpy(outbuf, o_packet.packet, o_packet.bytes);
+ // HACK: does not take codec delay into account (neither does the decoder though)
+ avc_context->coded_frame->pts= frame->pts;
+
return o_packet.bytes;
}
More information about the ffmpeg-cvslog
mailing list