Mailing Lists: Apple Mailing Lists

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

Re: SGSetDataOutput error, need error codes




On Mar 21, 2007, at 8:06 PM, Noor-E-Saba Hakim wrote:

Dear all,

I'm getting SGSetDataOutput error while trying to use sequence grabber to
record grabbed video and sound into a movie file as below:


*******
fullPath = "temp.mov";
// make a copy of our full path name
strcpy ( (char *)theFullPath, (const char *) fullPath);

// convert theFullPath to pstring
CToPstr((char*)theFullPath);

// Make a FSSpec with a pascal string filename
FSMakeFSSpec(0,0L,theFullPath, &sfFile);

if ((err = SGSetDataOutput(gSeqGrabber, &sfFile, seqGrabToDisk)))
	error = GetMoviesError();
*******

The error above is (null) if I print as a string, and 0 if I print a digit.

???

SGSetDataOutput returns an error code. GetMoviesError is for old api's that don't return an error but should have.

Most QuickTime errors can be found in MacErrors.h. Some newer ones can be found in QuickTimeErrors.h.

-Brad Ford
QuickTime Engineering



Could you please let me know what does this error mean? Where are all the
error codes defined for Sequence Grabber? In fact, it would be very
helpful if I could get the error codes for whole quicktime SDK for
Windows.


Regards.

Saba


_______________________________________________ Do not post admin requests to the list. They will be ignored. QuickTime-API mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. QuickTime-API mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden
References: 
 >SGSetDataOutput error, need error codes (From: "Noor-E-Saba Hakim" <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.