On Thu, Jul 18, 2002 at 08:23:48PM +0200, Denis Oliver Kropp wrote: > AddRef() should be called whenever the interface pointer is copied without > knowledge of it's creator. So if you are writing an application you know > when to Release() it and when it's safe to simply copy the pointer without > AddRef()ing.
So destination->AddRef() should be added to the PlayTo() function and destination->Release() to v4l_stop(). > > What about the dfb_surfacemanager_assure_system() call? libmpeg3 doesn't > > call this. > > If you use the dfb_surface_*_lock() functions you don't have to care about > that function, because it's called by the locking functions. Ok. I'll remove it then. -- Ville Syrj�l� [EMAIL PROTECTED] http://www.sci.fi/~syrjala/ -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-dev" as subject.
