Show
Ignore:
Timestamp:
02/22/05 21:56:56 (10 years ago)
Author:
robert
Message:

Removed the default play() in the MPEG, QuickTime? and Xine plugins, moving
it into the osgmovie application, and into readNodeFile method where
--movie is now available for detecting movie code.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgmovie/osgmovie.cpp

    r3825 r3856  
    251251        { 
    252252            osg::Image* image = osgDB::readImageFile(arguments[i]); 
     253            osg::ImageStream* imagestream = dynamic_cast<osg::ImageStream*>(image); 
     254            if (imagestream) imagestream->play(); 
    253255            geode->addDrawable(createTexturedQuadGeometry(pos,image->s(),image->t(),image)); 
    254256            geode->getOrCreateStateSet()->setMode(GL_LIGHTING,osg::StateAttribute::OFF);