HI Garret, > > Just did a test on making the ffmpeg thread safe. You should not have to > modify the plugin but here is a cut and past: > .. > To me this needs to be done at the application level. doing this will > automatically allow for thread safe access to parts of libavcodec that need > it. ffmpeg calls the callback method and passes the different ops it would > like you to do.
Would it not just be appropriate to stick this mutex set up in the plugin? Would there be any draw back in this? I would prefer to provide a plugin that wraps up all the details within the plugin and not be tightly coupled with application code. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

