Show
Ignore:
Timestamp:
05/28/10 18:39:08 (5 years ago)
Author:
robert
Message:

Converted osg::notify to OSG_INFO etc.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgPlugins/ffmpeg/FFmpegDecoderVideo.cpp

    r11177 r11508  
    5656FFmpegDecoderVideo::~FFmpegDecoderVideo() 
    5757{ 
    58     osg::notify(osg::INFO)<<"Destructing FFmpegDecoderVideo..."<<std::endl; 
     58    OSG_INFO<<"Destructing FFmpegDecoderVideo..."<<std::endl; 
    5959 
    6060 
     
    7777#endif 
    7878 
    79     osg::notify(osg::INFO)<<"Destructed FFmpegDecoderVideo"<<std::endl; 
     79    OSG_INFO<<"Destructed FFmpegDecoderVideo"<<std::endl; 
    8080} 
    8181 
     
    158158    catch (const std::exception & error) 
    159159    { 
    160         osg::notify(osg::WARN) << "FFmpegDecoderVideo::run : " << error.what() << std::endl; 
     160        OSG_WARN << "FFmpegDecoderVideo::run : " << error.what() << std::endl; 
    161161    } 
    162162 
    163163    catch (...) 
    164164    { 
    165         osg::notify(osg::WARN) << "FFmpegDecoderVideo::run : unhandled exception" << std::endl; 
     165        OSG_WARN << "FFmpegDecoderVideo::run : unhandled exception" << std::endl; 
    166166    } 
    167167} 
     
    283283     
    284284 
    285     osg::notify(osg::INFO)<<"Using sws_scale "; 
     285    OSG_INFO<<"Using sws_scale "; 
    286286     
    287287    int result =  sws_scale(m_swscale_ctx, 
     
    290290#else 
    291291 
    292     osg::notify(osg::INFO)<<"Using img_convert "; 
     292    OSG_INFO<<"Using img_convert "; 
    293293 
    294294    int result = img_convert(dst, dst_pix_fmt, src, 
     
    297297#endif 
    298298    osg::Timer_t endTick = osg::Timer::instance()->tick(); 
    299     osg::notify(osg::INFO)<<" time = "<<osg::Timer::instance()->delta_m(startTick,endTick)<<"ms"<<std::endl; 
     299    OSG_INFO<<" time = "<<osg::Timer::instance()->delta_m(startTick,endTick)<<"ms"<<std::endl; 
    300300 
    301301    return result;