Scenario: Use MovieExportFromProceduresToDataRef()-api
with the OggVorbis QuickTime component.
Expected result: Successful conversion to an
OggVorbis-file.
Actual result: An empty OggVorbis-file.
Details/Analysis:
FillBufferDataProc requires that globals->endTime is
set to something meaningful, but the only way to set it
is to call the premade movie export functionality in
OggVExportToDataRef().
If you use the raw
MovieExportFromProceduresToDataRef()-api then
globals->endTime is always and immutably zero and will
fail the if-statement at the beginning of
FillBufferDataProc() causing erraneous end-of-data
state and finally an empty output file.
Sorry I entered this bug under support first.
Logged In: YES
user_id=802016
No comment?
This patch is a possible solution.
It may not be elegant, it may not be what the original coder
intended, but it works.
To apply:
1. cd to the folder where you did your "cvs co qtoggvorbis"
2. patch -p3 < /my/path/to/ExportFromProcFix.patch
Logged In: YES
user_id=802016
I put a new patch up, there was a problem with the old one.
Sorry for any inconvenience. :)
[Like anyone reads this crap anyway.]
This patch will make the qtoggvorbis component work for
programs that use the
MovieExportFromProceduresToDataRef()-api to export audio.
To apply (you need a version of gnu diffutils):
1. In a shell/command prompt, cd into the qtoggvorbis folder
2. patch -p1 < /my/path/to/ExportFromProcFix2.patch