[Patches] [ python-Patches-1254695 ] QuickTime API needs corrected object types

SourceForge.net noreply at sourceforge.net
Tue Aug 9 06:03:55 CEST 2005


Patches item #1254695, was opened at 2005-08-09 00:03
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1254695&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Macintosh
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Christopher K Davis (ckdavis)
Assigned to: Jack Jansen (jackjansen)
Summary: QuickTime API needs corrected object types

Initial Comment:
Many of the objects in the Carbon.Qt module are typed as Component 
(CmpObj) when the QuickTime API documents them as 
ComponentInstance (CmpInstObj).

This makes it impossible to use GetGraphicsImporterForFile and then 
GraphicsImportGetAsPicture, because the latter is incorrectly expecting a 
CmpObj while the former is correctly returning a CmpInstObj.

Attached is a patch to qtsupport.py correcting the incorrect CmpObj typing, 
checked by reference to the QuickTime API docs.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1254695&group_id=5470


More information about the Patches mailing list