At 11:26 am -0700 21/6/05, Nicholas R. Rinard wrote:
I am attempting to cache instances of quicktime.std.movies.Movie in
an app-internal HSQLDB database but quicktime.std.movies.Movie does
not implement serializable.
What is the easiest way to get a quicktime.std.movies.Movie into a
I found the QTByteObject class, and its subclasses, but I don't know
if that's the solution to my problem, lest how to leverage it.
All a quicktime.std.movies.Movie is (essentially) is a pointer to an
opaque in-memory data structure, allocated and freed by native code.
It's completely meaningless to serialize that pointer, and it's
probably just as meaningless to serialize the structure itself
(assuming you could) as its contents no doubt depend on all sorts of
runtime state (pointers to other buffers, current window it's being
displayed in, etc.).
Why not just serialize the filename you opened the movie from and
re-open it when you need to load it? Or if the movie has been edited
in memory then save it to disk.
Square Box Systems Ltd
Do not post admin requests to the list. They will be ignored.
QuickTime-java mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden