Hi Robert, Hi Stephan,
good to hear that the changes look good.
Stephan, I'm sorry about skipping the live-stream part, but I did just a
check the calls to the previously used functions to see where they were
used, so I missed the other initialization method... can you handle that
part yourself?
Robert, let's see if the patch fixes the crash when exiting the
Present3D application ;-)
Thanks for the prompt feedback!
Cheers,
Ricky
On 11/02/2009 18.27, Stephan Maximilian Huber wrote:
Hi,
Hi Riccardo, hi Robert,
Riccardo Corsi schrieb:
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 changes look reasonable to me, it removes a lot of clutter, thank
you for your efforts!
There's one problem I see: the recently added live-video-stream-stuff
handles the initilaization of quicktime in a completely separate way. I
think we'll have to unify it.
After recompiling osg from svn/trunk with the patches applied I did some
tests:
* osgmovie with one or two local movie files works fine
* osgmovie
http://digitalmind.de/sites/digitalmind.de/files/livefeedbackSchnappschuss001.mp4
does not work, because AFAIK osg hands all http-urls to the curl-plugin,
so the url does not get to the quicktime plugin.
osgmovie 3:0.live
produces a black rect with my connected iSight, but I can hear the
captured sound. This malfunction is not related to the patch, I tried
with an unmodified version of the quicktime-plugin, it doesn't work
either. This is perhaps because of my isight, will test later with other
cameras.
So, thumbs up from my side :)
cheers,
Stephan
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org