[theora-dev] [OGGDSF][PATCH] My final patch to generate correct number of frames, for Theora, Speex and Vorbis encoders

Patrice MANDIN mandin.patrice at orange.fr
Thu Nov 8 02:31:18 PST 2007


Hello again,

I cleaned up the patch a little bit. Now directshow timestamps are set
in the libDirectShowAbstract class before calling TransformData().

There was also a bug with the timestamps being unsigned. Sometimes, the
REFERENCE_TIME values from DirectShow are negative.

Here is the complete patch, for Theora, Speex and Vorbis encoders.

I also attached the small patch to set quick mode as default in Theora
encoder.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oggdsf.diff
Type: application/octet-stream
Size: 8749 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/theora-dev/attachments/20071108/02ef5dd2/oggdsf-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oggdsf-quicktheora.diff
Type: application/octet-stream
Size: 701 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/theora-dev/attachments/20071108/02ef5dd2/oggdsf-quicktheora-0001.obj


More information about the theora-dev mailing list