Show
Ignore:
Timestamp:
05/28/10 19:05:46 (4 years ago)
Author:
robert
Message:

Converted osg::notify to OSG_INFO etc.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/quicktime/MovieData.cpp

    r11035 r11529  
    8989    if (status !=0) { 
    9090        _fError = true; 
    91         osg::notify(osg::FATAL) << " MovieData :: NewMovieFromProperties failed with err " << status<< std::endl; 
     91        OSG_FATAL << " MovieData :: NewMovieFromProperties failed with err " << status<< std::endl; 
    9292        return; 
    9393    } 
     
    153153 
    154154    if (_pointer == NULL) { 
    155         osg::notify(osg::FATAL) << "MovieData: " << "Can't allocate texture buffer" << std::endl; 
     155        OSG_FATAL << "MovieData: " << "Can't allocate texture buffer" << std::endl; 
    156156        _fError= true; 
    157157    } 
     
    191191     
    192192    if (err !=0 ) 
    193         osg::notify(osg::FATAL) << "MovieData : Could not create gWorld" << std::endl; 
    194          
     193    { 
     194        OSG_FATAL << "MovieData : Could not create gWorld" << std::endl; 
     195    } 
     196 
    195197    GetGWorld (&origPort, &origDevice); 
    196198    SetGWorld(_gw, NULL);                                         // set current graphics port to offscreen 
     
    204206        if (!LockPixels (pixmap))                                        // lock offscreen pixel map 
    205207        { 
    206             osg::notify(osg::FATAL) << "Could not lock PixMap" << std::endl; 
     208            OSG_FATAL << "Could not lock PixMap" << std::endl; 
    207209            ExitToShell (); 
    208210        } 
     
    210212    else 
    211213    { 
    212         osg::notify(osg::FATAL) << "Could not GetGWorldPixMap" << std::endl; 
     214        OSG_FATAL << "Could not GetGWorldPixMap" << std::endl; 
    213215        ExitToShell (); 
    214216    } 
     
    231233 
    232234void MovieData::setMovieRate(float rate) {  
    233     // osg::notify(osg::ALWAYS) << "new movierate: " << rate << " current: " << getMovieRate() << std::endl; 
     235    // OSG_ALWAYS << "new movierate: " << rate << " current: " << getMovieRate() << std::endl; 
    234236    _movieRate = rate; 
    235237    if ((rate != 0) && (_preRolled == false)) {