Re: Request for function

"Gerard Juyn" <gjuyn-qWit8jRvyhVmR6Xm/[email protected]> Sat, 21 Feb 2004 18:10:03 +0100
Newsgroups gmane.comp.graphics.mng.general
Organization Triple-T
Message-ID <40379EFB.3581.1400486B@localhost>
> > If you want to stop playback after 1 full run, set the processmend()
> > callback. This is always called just before the MNG loops back to the
> > beginning (if a TERM was present of course).
> 
> ok, I use for now processmend ... but what will be the best way to stop
> mng now playing the file?
> 
> mng_display_freeze?

If this is going to be the last call before the whole MNG gets cleaned up, I 
would use mng_reset(). That'll free all memory. If it may get restarted at some 
point use mng_display_reset(). freeze() is only useful together with resume() 
for pause/play interaction with the user.



--
Send the message body "help" to [email protected]