If you are feeling up to it why not add a generic metadata interface to 2.6 instead of storing stuff in a separate clip?
IanB suggested frame->GetUserData(key) and frame->SetUserDate(key, value) as the methods.
You'd have to use a LUT which used the pointer of the VideoFrame object together with the key to find the relevant data (because you can't add actual data/pointers to the object itself without breaking binary compatibility).
Last edited by MfA; 21st October 2007 at 19:29.
|