QTVisualContextTask is documented as being "not mandatory". Apparently, "not mandatory" means "you don't have to call this, but if you don't, you will crash or kernel panic". Not quite what I would mean if I said it...
QTVisualContextCopyImageForTime is also lacking in documentation. It should also say "If you call this function more than once per video frame, QuickTime will leak a substantial amount of memory by appending to some ever-growing internal data structure". Personally, I always write functions with that kind of behavior. Users love it.
0 comments:
Post a Comment