Hi Robert and Nick, I have to finish stuff before going into this subject. Continue with google, i will be back in a few days i hope.
Cheers, Cedric -- Provide OpenGL services around OpenSceneGraph and more +33 659 598 614 Cedric Pinson mailto:[email protected] http://www.plopbyte.net On Wed, 2010-01-06 at 17:17 +0000, Robert Osfield wrote: > Hi Nick, > > I'm just reviewing your changes and now understand why you were > wanting a regular call to the ImageStream class to enable your > periodic checking of the event status of the directshow thread/objects > as the DirectShowImageStream class itself didn't already have it own > thread. > > The solution still fills like overkill - running a thread just in case > you have looping enabled and need to watch for the end of video event > that only occurs relatively infrequently. I realize there is a sleep > in your thread but still it feels like an inefficient solution. > > I've just done a browse through the plugin code to look for places > where you could add your event check, and the only place I've seen so > far is that might be appropriate would be the method: > > HRESULT CTextureRenderer::DoRenderSample( IMediaSample * pSample ) > > in DirectShowTexture.cpp, at line 1632 (in your version of the file). > I was wondering if you could check the for the event here, or perhaps > find our the status of the reading of the stream here. Perhaps we can > ping Cedric Pinson the codes original author for suggestions. > > Thoughts? > Robert. > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org >
signature.asc
Description: This is a digitally signed message part
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
