Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SGDataProcs HAVE BEEN FIXED



Zach, et al,

For those of you who are having problems with your SGDataProcs, this bug has
been fixed. We released a seed (6.0.0 d2) almost a month ago that fixes this
problem along with many others.

You may ask yourself "How do I get this seed?" It's actually quite easy and
can be done in three easy steps.

First, you need to be a member of the ADC (at least an online member) which
all of you should already be.

Second, you need to send a mail to email@hidden requesting that you be
put on the seed list.

Third, you will get email from us with a username and password, and also
access to the private QT Java Seed List. You will also get access to our
seeding server where you can download the latest seed.

Please remember, that these seeds are development versions, and may have
issues, so your feedback is greatly appreciated.

I hope this helps clarify things.

Thanks,

Michael Hopkins
QuickTime for Java

On 12/4/01 8:56 AM, "zach lieberman" <email@hidden> wrote:

> thanks for all the help so far with SGDataProc. I've updated the SDK, so
> now I am able to access the interface.
>
> I followed this advice (adding SGDataProc to the SGCapture2Disk code)
> change line
>
> if (mFile != null) {
> mGrabber.setDataOutput(mFile,seqGrabToDisk);
> mGrabber.startRecord();
>
> to :
>
> if (mFile != null) {
> mGrabber.setDataProc(new MyDataProc());
> mGrabber.setDataOutput(mFile,seqGrabToDisk);
> mGrabber.startRecord();
>
>
> my SGDataProc is simply :
>
> static class MyDataProc implements SGDataProc
> {
> public MyDataProc(){
> System.out.println("hello world");
> }
>
> public int execute(SGChannel chan, QTPointerRef dataToWrite, int
> offset, int chRefCon, int time, int writeType)
> {
> System.out.println("gotem");
> return 0;
> }
> }
>
>
>
> after I hit record, this returns :
>
> hello world
> quicktime.app.sg.SGDrawer[quicktime.std.sg.SGVideoChannel@980017[type=sgch,sub
> Type=vide]],task,unrecoverable=false
> quicktime.QTRuntimeException[QTJava:5.0.1g3]-50=paramErr,QT.vers:5028000
> at quicktime.app.time.TaskThread.run(Compiled Code)
> at java.lang.Thread.run(Thread.java)
> quicktime.QTRuntimeException[QTJava:5.0.1g3]-50=paramErr,QT.vers:5028000
> at quicktime.app.time.TaskThread.run(Compiled Code)
> at java.lang.Thread.run(Thread.java)
>
>
> If I comment out the setDataProc() line, the code works again.
> I am wondering if I am doing something wrong with the mDrawer and
> tasking. If I can get data from SGDataProc, I don't really care about
> mDrawer. I would like simply to process the data and draw it to screen.
> the simplest task would be painting the frame rate on the data ala
> minimung.
>
>
>
> thanks again!
>
> z a c h
> _______________________________________________
> quicktime-java mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/quicktime-java


References: 
 >SGDataProc leads to error (From: zach lieberman <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.