Hi Robert,

I guess it's better to wait for Stephan to do some tests before merging, as I have no visibility at all under OSX.

On my box, this has solved some sporadic crashes I had when exiting the application - even if this refers back to osg 2.2 and 2.6.
Now I've always a clean exit.

Ricky


On 11/02/2009 16.59, Robert Osfield wrote:
Hi Riccardo,

I've done a quick review and agree his approach is a bit cleaner.  I
wonder do an merge with svn/trunk till Stephan has done some testing
though.

Does this patch resolve any issues that saw previously?

Robert.

On Wed, Feb 11, 2009 at 3:38 PM, Riccardo Corsi<[email protected]>  wrote:
Hi Robert,

in attach you'll find a patch to cleanup a little bit the (de)initialization
code of QuickTime environment from the quickTime pluging.
It basically removes the static init() and exit() functions,and move them
inside the observer class (the one that cleans everything up when the last
media is unloaded).

It also add an extra check to clean up on exit if the QuickTime env is
initialized, but no media is succesfully loaded / written (it might happens
with streaming resources).

I tested it under WinXP with zero, one and multiple videos.

Stephan reads in copy: could you kindly check if everything runs smooth
under OSX as well? Also, have you got a chance to test it with streaming
media?

The patch is against osg 2.8.0-rc5

Cheers,
Ricky

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org


_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to